This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]