Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1924 | minor | always | 08-02-07 11:48 | 08-28-07 15:33 | |
|
|||||
Reporter: | engberg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.2 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.3 | ||
|
|||||
Summary: | 0001924: Resin JNI doesn't build cleanly on Ubuntu (Debian) Linux | ||||
Description: |
On a vanilla installation of Ubuntu Linux (I tried 6.10 and 7.04), the Resin Pro JNI lib compiles using the quickstart instructions ("./configure; make; make install"), but it is missing linkage information which is necessary to use it. There are two problems here: First, the libresin.so library will fail to load due to a missing "__stack_chk_fail" symbol. This can be solved by adding "-fno-stack-protector" to every cc. Second, the configure script doesn't think that this OS needs an explicit LibC for the linker, but it does. This can be solved by adding "-lc" to each linker step. Altogether, I got it to work correctly like this: ./configure "CFLAGS=-fno-stack-protector"; make "PROXY_LIBS=-lpthread -lc"; make install This is a pretty common Linux server platform these days, so you may want to consider rolling this into the distribution, since many Java/PHP folks wouldn't be able to get this working on their own. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |