On Thu, 4 Sep 2003 22:55:23 -0300
[EMAIL PROTECTED] wrote:

> In my network library I have code using the function " stat( par1, par2 ).  
> defined by header at  /sys/stat.h. 
> When I trying to use this code linked as dynamic shared library, I have the 
> following error 
> 
> relocation error:  ( path/mylib ) undefined symbol: stat 

You don't show your build commands but you've likely 
compiled your shared library statically by mistake.
To prove this try the command "ldd path/mylib"

Without seeing how you actually compiled your library 
my best guess is that you should add "-lc" to the 
compile command.

Cheers,
Sean


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to