Hi,
I am trying to compile a program that uses "initstate_r" from random(3) in
libc.
However this function only seems to exist in the linux version of libc.
Compare `man 3 random` on a linux box [1] which has "initstate_r" and
"initstate", whereas `man 3 random` on a FreeBSD box [2] has only
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 -
2 matches
Mail list logo