Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Wed Nov 26, 2014 10:20 am

All times are UTC - 8 hours [ DST ]


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
Unread postPosted: Sat Jan 19, 2013 3:23 pm 
Offline
User avatar

Joined: Mon Jul 21, 2003 6:19 am
Posts: 754
Autoconf/Automake/libtool apparently fail to install convenience Libraries if an RPATH is set via LDFLAGS, e.g.
Code:
-Wl,-rpath -Wl,/usr/nekoware/lib

Somehow, libtool comes to believe that convenience libraries need to be build dynamically, but since they are not to be installed, the entire installation fails. However, I'd like to set an rpath for the binaries, so that I don't have to set an LD_LIBRARY_PATH and potentially confuse programs linked against older IRIX system libraries. Obviously, this is a problem for any program that makes use of convenience libraries in the build process, or even libraries that come with demo programs. Does anyone know a workaround for this?


Top
 Profile  
 
Unread postPosted: Sat Jan 19, 2013 5:01 pm 
Offline
User avatar

Joined: Mon Oct 27, 2003 6:22 pm
Posts: 545
Location: Jakobstad, Finland
It should be possible, pkgsrc patched autotools does this. I have no idea how though, there's a hell of a lot of magic going on there. I mean sparkly rabbits in top hats with doves in sleeves level magic.

_________________
:Octane: halo, octane
N.B.: I tend to talk out of my ass. Do not take it too seriously.


Top
 Profile  
 
Unread postPosted: Sat Jan 19, 2013 7:07 pm 
Offline
User avatar

Joined: Sun Mar 18, 2007 3:25 pm
Posts: 1961
Location: Minneapolis, Minnesota USA
Pass -non_shared to the compiler?

_________________
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...


Top
 Profile  
 
Unread postPosted: Sun Jan 20, 2013 8:38 am 
Offline
User avatar

Joined: Mon Jul 21, 2003 6:19 am
Posts: 754
How would I pass -non_shared to the compiler, if I still want some shared libraries to be built in the process?

Patching libtool seems possible, but would require always up-to-date autostuff to be able to autoreconf everything.


Top
 Profile  
 
Unread postPosted: Sun Jan 20, 2013 4:28 pm 
Offline
User avatar

Joined: Sun Mar 18, 2007 3:25 pm
Posts: 1961
Location: Minneapolis, Minnesota USA
So you're saying there's no way to do it by skipping rpath and just using autoconf's installation directory variables? For example: http://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Installation-Directory-Variables.html

_________________
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...


Top
 Profile  
 
Unread postPosted: Sun Jan 20, 2013 7:35 pm 
Offline

Joined: Tue Feb 24, 2004 5:10 pm
Posts: 9788
Won't help the problem but might make you feel better :

http://queue.acm.org/detail.cfm?id=2349257

About twelve paragraphs down ....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group