Opened 19 years ago
Closed 18 years ago
#998 closed defect (worksforme)
pschecklibs finds libmysqlclient but Ohana doesn't
| Reported by: | Owned by: | eugene | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Ohana | Version: | 2.3 |
| Severity: | critical | Keywords: | |
| Cc: |
Description
I got as far as building ippdb.src which then complained about psLib having been built without psDB support (thanks for this error message! :-)
I realized this was because mysql_config wasn't on my path. I added it to my path, but Ohana still doesn't find the include files:
searching for optional external header files...
missing mysql.h; skipping
Indeed, nor does Ohana's configure find libmysqlclient.a
searching for optional external libraries...
missing libmysqlclient; skipping
even though pschecklibs found it earlier:
pass libmysqlclient (/usr/local/mysql/lib/libmysqlclient.a)
Again this is a Mac failure, but I think that's only because mysql is installed in a funky place and not in /usr/bin/ /usr/lib etc.
We can argue whether the bug is in Ohana's configure script, or in pschecklibs. What I need to know, though, is how to tell psconfig etc. where the mysql includes and libraries are (with environment variables maybe?)
Change History (3)
comment:1 by , 19 years ago
| Cc: | added |
|---|
comment:3 by , 18 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
both pschecklibs and Ohana/configure search in LIBRARY_PATH for the libraries. I believe that they should have the same results at this point.

This bears a striking resemblance to bug 1004.