This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Adding a library
- From: "Vivek Katakam" <vivek1717 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 20 Jun 2006 08:29:59 +0530
- Subject: Adding a library
Hi All,
I have a problem at Linker stage in the compilation process.
If I include libsqlplus.so as -lsqlplus it is generating the binary
otherwise it is the giving undefined reference to sqlca function.
I have also given the LD_LIBRARY_PATH etc. Because I have to change at
lot number of places , is there a way around so that i can dynamically
include this library for example through ranlib.
Regards,
Vivek