FLTK logo

STR #2255

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #2255

Application:FLTK Library
Status:5 - New
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Unassigned
Summary:disable RPATH
Version:2.0-current
Created By:mnowak
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files


Trouble Report Comments:

Post Text ]
Name/Time/Date Text  
 
#1 mnowak
02:04 Sep 17, 2009
Consider this two patches, which prevent FLTK2 build system to create libraries with RPATH:

--- configure.in        2008-08-05 00:53:30.000000000 +0200
+++ configure.in.new    2008-12-22 12:09:24.030693986 +0100
@@ -186,9 +186,6 @@ if test x$enable_shared = xyes; then
        Linux* | *BSD*)
 #           DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ \$(LDLIBS) -shared -fPIC $DEBUGFLAG -o"
             DSOCOMMAND="\$(CXX) \$(LDLIBS) -shared -fPIC $DEBUGFLAG -o"
-           if test "$libdir" != "/usr/lib"; then
-                   DSOLINK="-Wl,-rpath,$libdir"
-            fi
            ;;
        AIX*)
            DSOSUFFIX="_s.a"

--- fltk2-config.in     2006-04-15 19:43:12.000000000 +0200
+++ fltk2-config.in.new 2009-06-17 13:52:16.000000000 +0200
@@ -168,7 +168,6 @@ do
       bindir=${exec_prefix}
       includedir=${prefix}/include
       libdir=${prefix}/lib
-      DSOLINK="-Wl,-rpath,${prefix}/lib"
            ;;
        --prefix)
            echo_prefix=yes


Why we don't like RPATH: https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
 
     

Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.