On Feb 11, 2005, at 11:58, Tom Hughes wrote:
In message <[EMAIL PROTECTED]> Didde Brockman <[EMAIL PROTECTED]> wrote:
$ cat /etc/ld.so.conf /usr/X11R6/lib /usr/local/lib
$ ldconfig -p | grep libXext libXext.so.6 (libc6) => /usr/X11R6/lib/libXext.so.6 libXext.so (libc6) => /usr/X11R6/lib/libXext.so
$ldconfig -p | grep libX11 libX11.so.6 (libc6) => /usr/X11R6/lib/libX11.so.6 libX11.so (libc6) => /usr/X11R6/lib/libX11.so
$ld -lXext ld: cannot find -lXext
The paths in ld.so.conf are only search at run time, they do not affect where the linker looks for things.
ld -L /usr/X11R6/lib -lXext
ld: warning: cannot find entry symbol _start; not setting start address
This is the correct way to do it. The error is just because you have asked to link an executable but have not supplied any object file that contains a main function.
Great, then how come "make" does not do this for me? I can't specify this manually, can I?
Kindly, Didde
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
