dynamobi/dynamobi — Issue #463: [FNL-45] Fennel .so's have hard-coded paths in them, which can cause load problems after installation
Author: dynamobi-build
Created: 2011-12-30 03:28:06+00:00
State: closed
Labels: Build, FNL

[reporter="jvs", created="Sat, 5 Aug 2006 16:59:09 -0500 (GMT-05:00)"]
Problem scenario:

On machine1, build a release version of fennel under /home/jvs/open/fennel

On machine2, build a debug version of fennel under /home/jvs/open/fennel

On machine2, under /home/oops, install the release version from machine1 (e.g. as part of LucidDB dist). The paths match the debug version sitting on machine2, causing .so load problems on startup because it checks those first before LD_LIBRARY_PATH.

The only workaround I found involved hand-editing libtool:

http://mail-archives.apache.org/mod_mbox/httpd-dev/200307.mbox/%3C22DF0CB7CBE78041BE60F8FCCE95767404645C@pbswmu00026.corp.pep.pvt%3E

Yuck. Maybe there's some post-processing that can be done instead.