Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Closed Thread
  Search this Thread
Old 01-08-2007, 01:17 AM   #1
LQ Newbie
Registered: Dec 2006
Posts: 13

Rep: Reputation: 0
Arrow cannot find -lmysqlclient

i install MySQL-client-standard-5.0.27-0.rhel3.i386.rpm in redhat9.0

this file is running in the freebsd4.11 and mysql4.1.7 , now is in update , so running in the redhat 9

i am getting the error while running my make file

make -f Makefile_adm
g++ -o adm.cgi -O0 -g -pthread -DCASINO_TWIST -DTARGET_UNIX -DMYSQL5 -DNOTHREAD -DCASINO_TWIST -L/usr/lib/mysql -L/usr/local/lib ../src/adm/mSSIService.o ../src/adm/mMain.o

/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [index] Error 1

can u tell me what are the changes should be done
Old 01-08-2007, 05:51 PM   #2
Registered: Feb 2006
Distribution: Ubuntu/OpenSuSE
Posts: 33

Rep: Reputation: 15
Make sure you install the MySQL dev tools as well...

Old 01-08-2007, 11:14 PM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux find to find files with multiple patterns subu_s Programming 6 12-15-2010 01:15 AM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 04:07 AM
lmysqlclient not found zali Linux - Software 2 04-23-2006 10:22 AM
find: . changed during execution of find suse degraffenried13 Linux - General 3 12-12-2004 08:13 PM
linux 'find' to find text files subu_s Programming 2 12-02-2004 03:56 AM

All times are GMT -5. The time now is 04:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration