[MacPorts] #44039: gnome-libs doesn't find Berkeley DB during configure

MacPorts noreply at macports.org
Wed Jun 18 10:52:55 PDT 2014


#44039: gnome-libs doesn't find Berkeley DB during configure
-------------------------+--------------------------------
  Reporter:  jruschme@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.0
Resolution:              |   Keywords:
      Port:  gnome-libs  |
-------------------------+--------------------------------

Comment (by devans@…):

 Patch attached that adds a +compat185 variant to db46.  To install db46
 with db185 compatibility mode (after applying this patch) use
 {{{
 sudo port install db46 +compat185
 }}}

 This fixes the db46 API issues but fails again during linking due to a
 missing -ldb
 {{{
 /usr/bin/clang -pipe -Os -fstrict-aliasing -funroll-loops -arch x86_64
 -Wall -Wunused -Wl,-headerpad_max_install_names -arch x86_64 -o .libs
 /gnome-dump-metadata gnome-dump.o -Wl,-framework -Wl,CoreAudio
 -L/opt/local/lib -L/opt/local/lib/db46 -L./.libs -lgnome
 -L../support/.libs -lgnomesupport -lesd -lglib -lintl -lz -lm
 Undefined symbols for architecture x86_64:
   "___db185_open", referenced from:
       _main in gnome-dump.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44039#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list