Bug 186789 - graphics/exiv2: /usr/bin/ld: /usr/local/lib/libintl.so.9: invalid DSO for symbol `libintl_bindtextdomain' definition
Summary: graphics/exiv2: /usr/bin/ld: /usr/local/lib/libintl.so.9: invalid DSO for sym...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-15 11:50 UTC by O. Hartmann
Modified: 2014-02-15 13:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2014-02-15 11:50:00 UTC
[...]
libtool: link: ranlib .libs/libexiv2.a
libtool: link: rm -fr .libs/libexiv2.lax
libtool: link: ( cd ".libs" && rm -f "libexiv2.la" && ln -s "../libexiv2.la" "libexiv2.la" )
libtool: link: c++ -fstack-protector -o .libs/taglist taglist.o  -L/usr/local/lib -L/usr/ports/graphics/exiv2/work/exiv2-0.23/xmpsdk/src ./.libs/libexiv2.so -Wl,-rpath -Wl,/usr/local/lib
libtool: link: c++ -fstack-protector -o .libs/exiv2 exiv2.o actions.o utils.o  -L/usr/local/lib -L/usr/ports/graphics/exiv2/work/exiv2-0.23/xmpsdk/src ./.libs/libexiv2.so -Wl,-rpath -Wl,/usr/local/lib
libtool: link: c++ -fstack-protector -o .libs/metacopy metacopy.o utils.o  -L/usr/local/lib -L/usr/ports/graphics/exiv2/work/exiv2-0.23/xmpsdk/src ./.libs/libexiv2.so -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: /usr/local/lib/libintl.so.9: invalid DSO for symbol `libintl_bindtextdomain' definition
/usr/local/lib/libintl.so.9: could not read symbols: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [exiv2] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/usr/ports/graphics/exiv2/work/exiv2-0.23/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/graphics/exiv2/work/exiv2-0.23'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-15 11:50:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-multimedia

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-15 13:03:01 UTC
Author: tijl
Date: Sat Feb 15 13:02:53 2014
New Revision: 344382
URL: http://svnweb.freebsd.org/changeset/ports/344382
QAT: https://qat.redports.org/buildarchive/r344382/

Log:
  Fix build after r344318.  Libtool no longer adds implicit dependencies to
  the linker command line.
  
  PR:		ports/186789

Added:
  head/graphics/exiv2/files/
  head/graphics/exiv2/files/patch-src-Makefile   (contents, props changed)

Added: head/graphics/exiv2/files/patch-src-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/exiv2/files/patch-src-Makefile	Sat Feb 15 13:02:53 2014	(r344382)
@@ -0,0 +1,11 @@
+--- src/Makefile.orig
++++ src/Makefile
+@@ -249,7 +249,7 @@
+ 	@$(LIBTOOL) --mode=link $(LINK.cc) -o $@ $(LIBRARY) $@.o -rpath $(libdir)
+ 
+ $(EXIV2BIN): lib $(EXIV2OBJ) $(EXIV2COBJ)
+-	@$(LIBTOOL) --mode=link $(LINK.cc) -o $@ $(LIBRARY) $(EXIV2OBJ) $(EXIV2COBJ) -rpath $(libdir)
++	@$(LIBTOOL) --mode=link $(LINK.cc) -o $@ $(LIBRARY) $(EXIV2OBJ) $(EXIV2COBJ) -rpath $(libdir) $(LIBS)
+ 
+ $(MCBIN): lib $(MCOBJ)
+ 	@$(LIBTOOL) --mode=link $(LINK.cc) -o $@ $(LIBRARY) $(MCOBJ) -rpath $(libdir)
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2014-02-15 13:29:04 UTC
State Changed
From-To: open->closed

Fixed in r344382.