https://sourceware.org/bugzilla/show_bug.cgi?id=20610

            Bug ID: 20610
           Summary: Linking against Oracle OCCI fails
           Product: binutils
           Version: 2.27
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: ostash at ostash dot kiev.ua
                CC: ian at airs dot com
  Target Milestone: ---

When linking simple application against Oracle OCCI v11.2.0.3 libraries gold
from binutils-2.27 package fails:

/usr/bin/g++  -fdata-sections -ffunction-sections -Wa,--compress-debug-sections
-pthread -std=c++1y -fno-omit-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=0 -g
-gdwarf-3 -O2 -march=native -pipe  -fuse-ld=gold -Wl,-O1 -pthread
-Wl,--as-needed app.cpp -o app -rdynamic -Wl,--no-as-needed -locci -lociei
-lclntsh -lnnz11 -Wl,--as-needed -ldl -lrt
/home/ostash/Sabre/hps/build/o/lib/libnnz11.so: error: undefined reference to
'dlopen'
libnnz11.so: error: undefined reference to 'dlclose'
libnnz11.so: error: undefined reference to 'dlerror'
libnnz11.so: error: undefined reference to 'dlsym'
libnnz11.so: error: undefined reference to 'pow'

gold from binutils-2.26.1 works fine, ld.bfd works fine too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to