On Wed, Mar 31, 2004 at 10:12:23PM +, Richard Bradley wrote:
> I can't get ld to recognise some "so" libraries without using the -L option:
Ldconfig is used for run-time loading of shared libraries.
What you are doing here is the compilation (linking...) of the
source to a executable.
gcc (ld
Richard Bradley wrote:
I can't get ld to recognise some "so" libraries without using the -L
option:
%gcc test.c -lsqlite
/usr/bin/ld: cannot find -lsqlite
%gcc test.c -L/usr/local/lib -lsqlite
However, /usr/local/lib is in its search path:
%ldconfig -r | grep sql
ldconfig has nothing to do with
Richard Bradley wrote:
Hi all,
I can't get ld to recognise some "so" libraries without using the -L option:
%cat test.c
int main () {}
%ls /usr/local/lib/libsqlite*
/usr/local/lib/libsqlite.a /usr/local/lib/libsqlite.so.2
/usr/local/lib/libsqlite.so
%gcc test.c -lsqlite
/usr/bin/ld: cannot fin
Hi all,
I can't get ld to recognise some "so" libraries without using the -L option:
%cat test.c
int main () {}
%ls /usr/local/lib/libsqlite*
/usr/local/lib/libsqlite.a /usr/local/lib/libsqlite.so.2
/usr/local/lib/libsqlite.so
%gcc test.c -lsqlite
/usr/bin/ld: cannot find -lsqlite
%gcc test.c -
4 matches
Mail list logo