LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling WebXMMS plugin: error with ld (and MySQL?) (https://www.linuxquestions.org/questions/linux-software-2/compiling-webxmms-plugin-error-with-ld-and-mysql-214376/)

tawalker 08-06-2004 02:52 PM

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.


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