couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meno Abels (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-562) link couchjs with bound libmozjs
Date Thu, 05 Nov 2009 16:05:32 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773958#action_12773958
] 

Meno Abels commented on COUCHDB-562:
------------------------------------

LD_LIBRARY_PATH is not a solution, it's just a hotfix. I make all js stuff slower and has
side effects.

> link couchjs with bound libmozjs
> --------------------------------
>
>                 Key: COUCHDB-562
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-562
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Build System
>         Environment: linux, ubuntu,debian
>            Reporter: Meno Abels
>             Fix For: 0.10
>
>
> If you build the couchdb from the source with a prefix set and --with-js-[lib|include]
option the resulting couchjs programm in <prefix>/lib/couchdb/bin/couchjs does not know
where to find the specified libmozjs.so which was specified in with-js-lib. This causes that
quite all test will fail. 
> To fix this the rpath has to setup during the compile. I don't had a look where to do
this.
> but a small shell wrapper fix it also
> #!/bin/sh
> LD_LIBRARY_PATH=...  exec $0.orig $@

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message