LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-06-2004, 02:52 PM   #1
tawalker
Member
 
Registered: Jan 2004
Location: UK
Distribution: Red Hat 9
Posts: 52

Rep: Reputation: 15
Compiling WebXMMS plugin: error with ld (and MySQL?)


Let me say from the outset: I'm a "compiling coward" That is, I tend to use RPMs wherever I can (I'm on Red Hat 9), as I've almost never had a program compile cleanly, and RPMs just seem to be less hassle overall in my experience. (Except when there are dependency problems, but I'm not going there right now...)

Of course, sometimes I have no choice but to compile, and this is one of those times

I'm trying to compile the WebXMMS plugin, which can send details of whatever you're playing on XMMS to your Web site. After a load of error messages, I worked out that I had to install a bunch of *-devel packages (and did so), but I now think I've nearly got the compile working.

Nearly, but not quite. This is the current output from make:
Code:
gcc -shared  -o webxmms.so webxmms.lo `xmms-config --libs` `curl-config --libs`
-lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [webxmms.so] Error 1
The weird thing is, I have the MySQL-devel package installed already (4.0.17.0), so shouldn't this be working? I think I'm almost there otherwise, as I understand the ld command is usually used in the latter stages of compiling.

Sorry if the answer is staring me in the face, but I'm not used to compiling - please could someone suggest what I need to do?

Many thanks,
Tim.
 
  


Reply



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
Error compiling perl-DBD-MySQL after upgrading to MySQL 4.1 pitaro920 Linux - Software 1 01-16-2006 04:28 PM
Error compiling Gaim Xfire plugin blk96gt Linux - Software 0 07-28-2005 10:37 PM
Help Error Compiling MySQL Query Browser MarcusG Linux - Software 3 02-06-2005 10:02 AM
Error compiling PHP5 with MySQL Boby Linux - Software 3 09-10-2004 09:17 PM
Error when compiling PHP 4.3.3 w/ MySQL on RH9 Shaolyen Linux - Software 1 10-21-2003 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:44 AM.

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