Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001924 [Resin] minor always 08-02-07 11:48 08-28-07 15:33
Reporter engberg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.2
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.
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
08-02-07 11:48 engberg New Issue
08-28-07 15:33 ferg Assigned To  => ferg
08-28-07 15:33 ferg Status new => closed
08-28-07 15:33 ferg Resolution open => fixed
08-28-07 15:33 ferg Fixed in Version  => 3.1.3
08-28-07 15:33 ferg Description Updated


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker