IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 19 years ago

Closed 18 years ago

#998 closed defect (worksforme)

pschecklibs finds libmysqlclient but Ohana doesn't

Reported by: jester@… 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 Paul Price, 19 years ago

Cc: price@… grav@… added

This bears a striking resemblance to bug 1004.

comment:2 by Paul Price, 19 years ago

Cc: grav@… removed

Sorry, bug 1005.

comment:3 by eugene, 18 years ago

Resolution: worksforme
Status: newclosed

both pschecklibs and Ohana/configure search in LIBRARY_PATH for the libraries. I believe that they should have the same results at this point.

Note: See TracTickets for help on using tickets.