Hmm.. I'm having this problem today:

/usr/local/mysql/lib/mysql/libmysqlclient.a
/usr/local/mysql/lib/mysql/libmysqlclient.la
/usr/local/mysql/lib/mysql/libmysqlclient.so
/usr/local/mysql/lib/mysql/libmysqlclient.so.14
/usr/local/mysql/lib/mysql/libmysqlclient.so.14.0.0

cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o -lmysqlclient -lz -L/usr/local/mysql/lib /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [cdr_addon_mysql.so] Error 1

I've tried many many things to get it going but have failed (incl. reinstalling zlib)... any ideas?

Regards,


Sahil Gupta
VoiceValley

On Fri, 1 Jul 2005, Brian West wrote:

You could have just done "ln -s asterisk-1.0.9 asterisk" and it would have fixed that. It should by default do -I../asterisk

/b
---
Anakin: “You’re either with me, or you’re my enemy.”
Obi-Wan: “Only a Sith could be an absolutist.”

On Jun 30, 2005, at 1:13 AM, Chris Mason (Lists) wrote:

Marcel van Kaam, Fonetica wrote:


I had the same problem with installing addons. I checked out in the file
cdr_addons_mysql.c what the location of the asterisk.h must be and changed
the cdr_addons_mysql.c to the location of the asterisk.h file.

After this it worked. Also to be sure do: locate asterisk.h to check or you
have the file on your system.

Marcel

Yes, that worked. For the record, it had to be

#include "../asterisk-1.0.9/asterisk.h"

--
Chris Mason
NetConcepts
(264) 497-5670 Fax: (264) 497-8463
Int:  (305) 704-7249 Fax: (815)301-9759 Cell: 264-235-5670
Yahoo IM: [EMAIL PROTECTED]
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to