Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2001 10:41:28 -0600
From:      "Robert Goff" <goff@aisling.cc>
To:        "FreeBSD Questions" <questions@FreeBSD.ORG>
Subject:   /usr/ports/www/mod_auth_mysql
Message-ID:  <FBEEJKONBLAFDBENBGOFKEHIFAAA.goff@aisling.cc>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to install the subject port, but I seem to be having a bit
of trouble because mysql isn't where the port expects it to be.  It
gets through config and into the build, but stops because it can't
find a library:

===>  Building for mod_auth_mysql-2.20
cp config.h auth_mysql_config.h
/usr/local/sbin/apxs -c -o libauth_mysql.so -L/usr/local/lib/mysql
- -lmysqlclient
 -I/usr/local/include/mysql mod_auth_mysql.c
cc -DHARD_SERVER_LIMIT=512 
- -DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" -funsi
gned-char -DTARGET="apache" -DMOD_SSL=206106 -DEAPI -DEAPI_MM
- -DUSE_EXPAT -I../l
ib/expat-lite -O -pipe -fpic -DSHARED_MODULE
- -I/usr/local/include/apache -I/usr/
local/include/mysql  -c mod_auth_mysql.c
gcc -shared -o libauth_mysql.so mod_auth_mysql.o
- -L/usr/local/lib/mysql -lmysqlc
lient
/usr/libexec/elf/ld: cannot find -lmysqlclient
apxs:Break: Command failed with rc=65536
*** Error code 1

There is no "mysqlclient" file in the mysql/lib directory, so I'm not
surprised it's not found.  The question is what should it be looking
for and how do I fix it?

- --
I can't remember if I'm the good twin or the evil one.
======================================================================
Robert Goff                                  http://aisling.cc/resume/
Technical Writer/Editor, Webmaster                        505-564-8959


-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3

iQA/AwUBO2bfuALt+lN6EYZ6EQIb7QCg1YwvSJ3VI10O+n+vizPUXGu5boYAoJVA
GqMoeHRgHQw7KQqBJqMzpS0p
=OHmQ
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FBEEJKONBLAFDBENBGOFKEHIFAAA.goff>