On Wed, 25 Apr 2012 18:31:49 +0200
<[email protected]> wrote:

> On Wed, 25 Apr 2012 16:13:55 +0200
> <[email protected]> wrote:
> 
> a bit of tweaking is needed:

Done. Now it should work w/o any LD_LIBRARY_PATH. The one little
problem i see is this: the full path of the needed c-libraries is
hardcoded. So, in the "headers-test"-case, ini_test.so will always
link ~/.luarocks/lib/lua/5.1/inih.so, even if later a newer lua-inih
gets installed in /usr/local/... and/or the one in ~ gets removed.
Dunno if there's a way around this limitation, perhaps one method
mentioned here 
http://stackoverflow.com/questions/1305266/how-to-link-to-a-shared-library-without-lib-prefix-in-a-different-directory
by "Employed Russian" will do? 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to