Fintan Ryan - Sun Ireland - Computer Systems - CQA Software Engineer's [Fintan.Ryan at ireland.sun.com] 70 lines of dribble included:
:>So its a problem with ld, but what is it? I've gone as far as trying to do
:>each step by hand, and it won't work. I've removed things such as Oracle
:>support as well, checked the LIBS flags, CFLAGS etc, and I'm stumped.
:>:>Sytem is an E220, dual processor, 2 gigs ram running Solaris 8 with the
:>recommended patch sets. All the standard gnu tools are installed. MySQL was
:>installed from source and is working fine. MySQL configure had
:>--prefix=/usr/local. There is a reason for using the old versions of both php
:>and apache.
Looks like you aren't using gcc with the -lmysql flag.
Try compiling without MySQL support and see does it succeed, if so
you can be 99% sure you need to stick in -lmysql into the compiler flags.
Phil.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!