ports/71348: [maintainer] Unbreak databases/mysqlcppapi after mysql41-* update

Thierry Thomas thierry at FreeBSD.org
Fri Sep 3 21:32:57 UTC 2004


Synopsis: [maintainer] Unbreak databases/mysqlcppapi after mysql41-* update

State-Changed-From-To: open->feedback
State-Changed-By: thierry
State-Changed-When: Fri Sep 3 21:30:41 GMT 2004
State-Changed-Why: 

Configure does not found libmysqlclient:

configure:18657: checking for mysql_store_result in -lmysqlclient
configure:18688: c++ -o conftest -O -pipe -g -march=pentium4 -I/usr/local/include -L/usr/local/lib conftest.cc -lmysqlclient  -lintl  >&5
/usr/bin/ld: cannot find -lmysqlclient
configure:18691: $? = 1
configure: failed program was:
| #line 18665 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LIBINTL 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char mysql_store_result ();
| int
| main ()
| {
| mysql_store_result ();
|   ;
|   return 0;
| }
configure:18709: result: no


-L/usr/local/lib/mysql is missing.


http://www.freebsd.org/cgi/query-pr.cgi?pr=71348



More information about the freebsd-ports-bugs mailing list