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
config(8) System Manager's Manual config(8)
NAME
config - Builds system configuration files
SYNOPSIS
/sys/conf/config [-k] [-p] [-q] system_name
FLAGS
Creates a define variable 'KDEBUG' that can be used to conditionally compile source code for kernel debugging. Configure the system for
profiling. You must have sources to use this flag. Concatenates and displays all the system configuration files, including any configura-
tion files described in the /sys/conf/NAME.list file.
DESCRIPTION
The doconfig command calls the config command to build a set of system configuration files from a file that describes the sort of system
that is being configured. The config command also takes as input another file that tells it what files are needed to generate a system.
This other file can be augmented by a configuration-specific set of files that name alternate files for a specific machine.
Normally, you should run the doconfig program and not the config command. If you need to issue the config command, be sure to change your
directory to the /sys/conf directory. As an argument to the config command, specify the name of a system configuration file containing
device specifications, configuration options and other system parameters for that specific system configuration. The config command places
all its output files in the directory
The output of config consists of a number of files; each machine type has its own specific set of files. All machine types have a makefile
which is used by make during the system build. Typically, there are also a set of header files which contain definitions of the number of
various devices that will be compiled into the system, and a set of swap configuration files contain definitions for the disk areas to be
used for swapping, the root file system, argument processing, and system dumps.
After running config, you run make depend in the directory where the new makefile was created.
If any other error messages are produced by config, the problems in the configuration file should be corrected and config should be run
again. Attempts to compile a system that had configuration errors are likely to be unsuccessful.
NOTES
The line numbers reported in error messages are usually off by one.
FILES
List of common files used to build the system List of files specific to NAME, where NAME is the value specified for the ident option in the
system configuration file Machine-independent portion of the makefile template used for building kernels from binaries Machine-independent
portion of the makefile template used for building kernels from sources Machine-dependent portion of the makefile template List of machine-
specific files Machine-specific name to major device mapping file
RELATED INFORMATION
Commands: make(1), doconfig(8)
System Administration delim off
config(8)