LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] PHP with MySQL support compile problem

[Webdev] PHP with MySQL support compile problem

Philip Reynolds phil at redbrick.dcu.ie
Mon Aug 28 20:57:15 IST 2000


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.




More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell