bugGnash - The GNU Flash player - Bugs: bug #29151, configure --disable-rpath is...

 
 

bug #29151: configure --disable-rpath is ignored

Submitter:  Martin Jacobs <mjacobs_de>
Submitted:  Tue 09 Mar 2010 09:42:39 PM UTC
   
 
Category:  release 0.8.7 Severity:  3 - Normal
Release:  None Status:  Need Info
Privacy:  Public Assigned to:  rsavoye
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 04 Feb 2016 09:10:49 AM UTC, comment #4: 

--disable-rpath does not work on Ubuntu with libtool version 2.4.2
Same on Mac OS X.

Is one supposed to add something specific in the configure.ac ? Here is the configure.ac I use: http://cgit.freedesktop.org/gstreamer/gstreamer/tree/configure.ac

Also see this bug http://sourceforge.net/p/opendkim/bugs/189/. It seems that some started to patch libtool at configure time due to this issue.

See also Debian wiki about rpath issue: https://wiki.debian.org/RpathIssue

Julien Isorce <julienisorce>
Thu 11 Mar 2010 08:30:36 PM UTC, comment #3: 

This is complete configure command line:

./configure --target i586-suse-linux --host i586-suse-linux-gnu --build i586-suse-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-gui=gtk --enable-media=ffmpeg
--enable-renderer=agg --disable-rpath --with-plugins-install=system --with-npapi-install=system --with-npapi-plugindir=/usr/lib/firefox/plugins

I give autogen.sh a chance ... (libtoolize is version 2.2.6)

Running libtoolize 2.2.6 --force --copy  --ltdl libltdl --quiet --recursive ...
processing .
Running aclocal -I cygnal -I macros  ...
Running autoheader...
Running automake --add-missing --copy  ...
Running autoconf ...

Then running configure as shown above gives exactly the same result. Example from libbase/Makefile:

libgnashbase.la: $(libgnashbase_la_OBJECTS) $(libgnashbase_la_DEPENDENCIES)
        $(libgnashbase_la_LINK) -rpath $(pkglibdir) $(libgnashbase_la_OBJECTS) $(libgnashbase_la_LIBADD) $(LIBS)

Any idea, how to fix that?

Martin Jacobs <mjacobs_de>
Wed 10 Mar 2010 09:02:41 PM UTC, comment #2: 

the -rpath is inserted by libtool, which is also what is --disable-rpath is supposed to disable. Did you use --disable-rpath ? What happens if you run ./autogen.sh instead of autoreconf ?

Rob Savoye <rsavoye>
Group administrator
Wed 10 Mar 2010 08:56:24 PM UTC, comment #1: 

Even if I run autoreconf (2.63) before running configure, I find in most of the Makfiles lines like this one (taken from libbase/Makefile):

libgnashbase.la: $(libgnashbase_la_OBJECTS) $(libgnashbase_la_DEPENDENCIES)
        $(libgnashbase_la_LINK) -rpath $(pkglibdir) $(libgnashbase_la_OBJECTS) $(libgnashbase_la_LIBADD) $(LIBS)

Martin Jacobs <mjacobs_de>
Tue 09 Mar 2010 09:42:39 PM UTC, original submission:  

I'm on GNU/Linux, gcc-3.4.6.

Building rpm from gnash 0.8.6 worked fine.
Now with gnash 0.8.7 I wanted to switch to a build without rpath and had to discover that configure accepts this option but all Makefiles still use rpath as link option.
Both versions (0.8.6 and 0.8.7) are affected,


Martin Jacobs <mjacobs_de>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by julienisorce (Posted a comment)
  • -email is unavailable- added by rsavoye (Posted a comment)
  • -email is unavailable- added by mjacobs_de (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-10 rsavoye StatusNone Need Info
        Assigned toNone rsavoye

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code