IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 19 years ago

Closed 18 years ago

#1005 closed defect (fixed)

lib/mysql added to LD_LIBRARY_PATH?

Reported by: Michael Wood-Vasey Owned by: eugene
Priority: high Milestone:
Component: psconfig Version: 2.3
Severity: normal Keywords:
Cc:

Description

I found that I had to add lib/mysql to the LD_LIBRARY_PATH for a copy of MySQL installed within the IPP tree. I modified line 259-260 of my psconfig.csh file (IPP 2.3) to read as:

# set LIBRARY_PATH and LD_LIBRARY_PATH, used to find libraries
set libdir = {$PSCONFDIR}/{$PSCONFIG}/lib:{$PSCONFDIR}/{$PSCONFIG}/lib/mysql

I don't know if this should be permanently set? This came up when Kapa tried to run within the psphot program and couldn't find the libmysql library. When I set it as above it worked and flashed up a plot on the screen in the midst of the psphot processing.

Change History (2)

comment:1 by Paul Price, 19 years ago

Component: ippconfigpsconfig
Owner: changed from Paul Price to eugene

comment:2 by eugene, 18 years ago

remaining_time: 0.500.00
Resolution: fixed
Status: newclosed

mysql is particularly perverse in this respect. Even if we supply --libdir=foo and --includedir==bar entries, it still insists on putting the libraries in foo/mysql and the header files in bar/mysql.

There may be a more elegant solution, but for now I have added these special locations to the construction of CPATH and LD_LIBRARY_PATH, LIBRARY_PATH.

Note: See TracTickets for help on using tickets.