You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support to BridJ for GNU linker (ld) scripts #64
On some versions of linux, eg Ubuntu and Debian, some libraries are not implemented as ELF files but are references by linker scripts.
Whilst it is possible to work round this, eg by setting bridj..lib, some support for linked scripts would be preferable.
Options are:-
(a) Parse the linker script;
(b) Use ld on linux (might be hard to do)
(c) Use a simple search policy - most linker scripts simply reference the actual .so as the first entry in the group - or just search for .so.*, and load the highest, with respect on *nix to the FHS (eg /lib vs /usr/lib)
(d) Allow the user to specify the value N in .so.N for a given uname combination
A sample linker script from Ubuntu 10.04 is attached.
Google Code Info:
Issue #: 62
Author: raphael....@gtempaccount.com
Created On: 2011-03-29T09:42:12.000Z
Closed On: 2011-04-07T19:42:43.000Z
If doing this in code, then it needs to execute before any libraries are registered - which can be automatic, eg if using BridJ.sizeOf(Class), which, if used to assign a static final variable, can have the side effect (reasonably) of registering the library, potentially before any system properties are changed or BridJ.register() is called.
UK Office:
Gateshead int'l Business Centre, Mulgrave Terrace, Gateshead, NE8 1AN,
United Kingdom
Telephone: +44 845 3712 567
Registered office:
78 Broomfield Road, Chelmsford, Essex, CM1 1SS, United Kingdom
StormMQ Limited is Registered in England and Wales under Company Number
07175657
StormMQ.com
Activity
ochafik commentedon Sep 1, 2011
Sorry, that should be bridj..library
If doing this in code, then it needs to execute before any libraries are registered - which can be automatic, eg if using BridJ.sizeOf(Class), which, if used to assign a static final variable, can have the side effect (reasonably) of registering the library, potentially before any system properties are changed or BridJ.register() is called.
Google Code Info:
Author: raphael....@gtempaccount.com
Created On: 2011-03-29T09:50:07.000Z
ochafik commentedon Sep 1, 2011
Hi,
This is a duplicate of issue #61.
Could you confirm it is now fixed ?
Thanks,
Cheers
zOlive
Google Code Info:
Author: olivier.chafik
Created On: 2011-04-07T19:42:43.000Z
ochafik commentedon Sep 1, 2011
Olivier,
I will do - I'm on a business trip until 18th April and will test on return
when I've got access to a linux server.
Raph
Raphael Cohn
Managing Director
raphael.cohn@StormMQ.com
StormMQ Limited
UK Office:
Gateshead int'l Business Centre, Mulgrave Terrace, Gateshead, NE8 1AN,
United Kingdom
Telephone: +44 845 3712 567
Registered office:
78 Broomfield Road, Chelmsford, Essex, CM1 1SS, United Kingdom
StormMQ Limited is Registered in England and Wales under Company Number
07175657
StormMQ.com
Google Code Info:
Author: raphael....@gtempaccount.com
Created On: 2011-04-08T08:49:15.000Z