BUG: inventor-2.1.5 dylibs lack install_names
Reported by: |
bhu@… |
Owned by: |
cssdev |
Priority:
|
Low
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
|
Keywords:
|
|
Cc:
|
|
Port:
|
inventor
|
|
|
The shared libraries (libInventor.dylib and libInventorXt.dylib) are not given "install_name" when linked. The consequence is that we need to set DYLD_LIBRARY_PATH to use the executables that are linked against the libraries. Adding the "install_name" option to the linker's command line should solve the problem.
1) patch for lib/GNUmakefile:
--- GNUmakefile 2006-05-29 21:21:36.000000000 -0400
+++ GNUmakefile.new 2006-05-29 21:21:49.000000000 -0400
@@ -3,7 +3,7 @@
LIBDSO = libInventor.so
-LLDDSOOPTS += -L$(IVDEPTH)/libimage -L$(FLDIR)
+LLDDSOOPTS += -L$(IVDEPTH)/libimage -install_name /opt/local/lib/libInventor.dylib -L$(FLDIR)
LLDLIBS = \
-ljpeg -limage $(FLLIB) \
2) patch for .../libSoXt
--- GNUmakefile 2006-05-29 21:24:59.000000000 -0400
+++ GNUmakefile.new 2006-05-29 21:24:39.000000000 -0400
@@ -7,6 +7,8 @@
-lXm -lXt -lXext -lXi -lX11 -lm \
-lInventor -lGLU -lGL
+LLDDSOOPTS += -install_name /opt/local/lib/libInventorXt.dylib
+
LLDLIBS += $(shell [ -e $(X11LIBDIR)/libXp.so ] && echo -lXp)
OBJECTS = \
Change History (13)
Summary: |
Specifying names for the dynamic shared libraries →
RFE: libinventor? Specifying names for the dynamic shared libraries
|
severity: |
minor →
enhancement
|
Owner: |
changed from macports-tickets@… to css@…
|
Cc: |
cssdev@… removed
|
Summary: |
RFE: libinventor? Specifying names for the dynamic shared libraries →
RFE: inventor-2.1.5: dylibs lack install_names
|
Milestone: |
→ Available Ports
|
Milestone: |
Available Ports →
Port Enhancements
|
Milestone: |
Port Enhancements →
Port Bugs
|
Priority: |
Nice to have →
Low
|
Summary: |
RFE: inventor-2.1.5: dylibs lack install_names →
BUG: inventor-2.1.5 dylibs lack install_names
|
Version: |
1.2
|
Description: |
modified (diff)
|
Port: |
inventor added
|
Description: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
would you mind at least mentioning the name of the port in the summary? ;)