06-20-2014
Linking issue due to so version number
Hi all,
currently I'm facing a issue in linking a .so file.
In my build machine, I've libcrypto.so.6 and there is a softlink as libcrypto.so.
In my make file I'm trying to link to the lib using -L -lcrypto and it is success and created my test.exe.
When I copy this test.exe to other machine, there libcrypto.so is present but it is looking for libcrypto.so.6. Due to which the exe is not coming up.
Eg: ldd -r test.exe
libcrypto.so.10 => /usr/lib/libcrypto.so.10 (0x00f69000)
But my as per my understanding this should point to
libcrypto.so => /usr/lib/libcrypto.so.10 (0x00f69000)
How to resolve this problem and what is happening internally.
Thanks
Vijay
Last edited by vijkrr; 06-20-2014 at 06:34 AM..
10 More Discussions You Might Find Interesting
1. Programming
Hi
I'm getting
ld: fatal: option -h and building a dynamic executable are incompatible
ld: fatal: Flags processing errors
When I run
ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o
after running
gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c
I'm... (6 Replies)
Discussion started by: laho
6 Replies
2. Red Hat
Hi All,
I am trying to send a mail from my application through SMTP in solaris 9 but unable to send a mail.Same code is able to send mail in Windows.
As unix has more security,So as per me,it is due to security reason..
So please let me know what I need to do to send a mail properly.
what... (5 Replies)
Discussion started by: smartgupta
5 Replies
3. Shell Programming and Scripting
The date increment worked fine until date reached 25/10, which is DLS change date.
/bin/date --date="091025 1 day" +%y%m%d;
the output is 091025
Is this a bug or something missing from the code ! (3 Replies)
Discussion started by: rajbravo
3 Replies
4. UNIX for Advanced & Expert Users
Hello everyone:
I've made a program for AIX, but it's unable to run, by running ld I got the following screen:
ld MyApp
ld: 0711-317 ERROR: Undefined symbol: getenv
ld: 0711-317 ERROR: Undefined symbol: _iob
ld: 0711-317 ERROR: Undefined symbol: fprintf
ld: 0711-317 ERROR: Undefined... (1 Reply)
Discussion started by: edgarvm
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I am very new to unix and to this forum.Suggest me a solution in fixing the below issue.
Actually ia m executing java program through script.
The command is like
java pgm &
The above cmd runs the java program continuous as a background thread.
This script is executed from a... (1 Reply)
Discussion started by: sahan
1 Replies
6. Solaris
I have two physical servers, with zones that mount local storage.
We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point).
It failed to mount on every boot because the directory existed in the zone.
I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies
7. Programming
Incompatiblity of the code due to CC compiler version mismatch.
I have a machine with
Machine A-- Operating System:SunOs 5.8 Generic_117350-45 sun4u sparc SUNW,Ultra-80(solaris 5.8)
CC Compiler:CC: WorkShop Compilers 4.2 16 Jun 1998 C++ 4.2 patch 104631-07
we have compiled C++... (36 Replies)
Discussion started by: Revathi R
36 Replies
8. SCO
Dear Community!
i try to instaled the sco 6 in hp proliant ML350g8
but unsucces,
the trouble when i do instaled it undetected hardisk
please help me
:(:o (7 Replies)
Discussion started by: mnr
7 Replies
9. UNIX for Beginners Questions & Answers
Hello All,
OS: openSUSE 13.1 (Bottle) (armv7hl)
PC: CuBox-i (*mini-pc)
The PC in question is a CuBox-i mini-pc. Since this PC doesn't have a battery, everytime the PC reboots the hardware clock is reset back to the same date every time, which is "2014-07-08 00:00".
I have NTP configured... (5 Replies)
Discussion started by: mrm5102
5 Replies
10. Shell Programming and Scripting
rsync --delay-updates -F --compress --archive --rsh='/usr/bin/ssh -t -a -x' /web/admin/Transfer/data/ user1@destserver1:/tmp/testf
rsync version on sender server is:3.0.9
rsync version on sender server is:3.0.6
Linux sourceserver1 3.10.0-693.17.1.el7.x86_64 #1 SMP Sun Jan 14 10:36:03 EST... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT SUSE
pam_issue
PAM_ISSUE(8) Linux-PAM Manual PAM_ISSUE(8)
NAME
pam_issue - PAM module to add issue file to user prompt
SYNOPSIS
pam_issue.so [noesc] [issue=issue-file-name]
DESCRIPTION
pam_issue is a PAM module to prepend an issue file to the username prompt. It also by default parses escape codes in the issue file similar
to some common getty's (using x format).
Recognized escapes:
d
current day
l
name of this tty
m
machine architecture (uname -m)
machine's network node hostname (uname -n)
o
domain name of this system
release number of operating system (uname -r)
current time
s
operating system name (uname -s)
u
number of users currently logged in
U
same as u except it is suffixed with "user" or "users" (eg. "1 user" or "10 users")
v
operating system version and build date (uname -v)
OPTIONS
noesc
Turns off escape code parsing.
issue=issue-file-name
The file to output if not using the default.
MODULE TYPES PROVIDED
Only the auth module type is provided.
RETURN VALUES
PAM_BUF_ERR
Memory buffer error.
PAM_IGNORE
The prompt was already changed.
PAM_SERVICE_ERR
A service module error occurred.
PAM_SUCCESS
The new prompt was set successfully.
EXAMPLES
Add the following line to /etc/pam.d/login to set the user specific issue at login:
auth optional pam_issue.so issue=/etc/issue
SEE ALSO
pam.conf(5), pam.d(5), pam(8)
AUTHOR
pam_issue was written by Ben Collins <bcollins@debian.org>.
Linux-PAM Manual 04/01/2010 PAM_ISSUE(8)