1359 Feedback

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #536
    Scallica
    Participant

    I am trying to compile build 1359 on a Solaris 8 box. I have the sqlite3 libraries installed. When I run the configure command, it complains that it cannot find sqlite3_open ? See below….

    ./configure –with-gdbm-includes=/usr/local/include –with-gdbm-libs=/usr/local/lib –enable-sqlite3 –with-sqlite3-includes=/usr/local/include –with-sqlite3-libs=/usr/local/lib

    checking id3tag.h usability… yes
    checking id3tag.h presence… yes
    checking for id3tag.h… yes
    checking for id3_file_open in -lid3tag… yes
    checking sqlite3.h usability… yes
    checking sqlite3.h presence… yes
    checking for sqlite3.h… yes
    checking for sqlite3_open in -lsqlite3… no
    Must have sqlite3 libraries installed

    #6096
    rpedde
    Participant

    @Scallica wrote:

    I am trying to compile build 1359 on a Solaris 8 box. I have the sqlite3 libraries installed. When I run the configure command, it complains that it cannot find sqlite3_open ? See below….

    ./configure –with-gdbm-includes=/usr/local/include –with-gdbm-libs=/usr/local/lib –enable-sqlite3 –with-sqlite3-includes=/usr/local/include –with-sqlite3-libs=/usr/local/lib

    checking id3tag.h usability… yes
    checking id3tag.h presence… yes
    checking for id3tag.h… yes
    checking for id3_file_open in -lid3tag… yes
    checking sqlite3.h usability… yes
    checking sqlite3.h presence… yes
    checking for sqlite3.h… yes
    checking for sqlite3_open in -lsqlite3… no
    Must have sqlite3 libraries installed

    Is it possible the sqlite libs went in /usr/local/lib/sqlite3 or something crazy like that? Is libsqlite3.a actually *in* /usr/local/lib?

    It might also be worth looking at the config.log and seeing how the conftest failed… might give you more info.

    — Ron

    #6097
    Scallica
    Participant

    Yes, the libraries are in that directory.

    $ ls /usr/local/lib/ | grep libsqlite

    libsqlite3.a
    libsqlite3.la
    libsqlite3.so
    libsqlite3.so.0
    libsqlite3.so.0.8.6

    $ cat config.log | grep sqlite

    $ ./configure –with-gdbm-includes=/usr/local/include –with-gdbm-libs=/usr/local/lib –enable-sqlite3 –with-sqlite3-includes=/usr/local/include –with-sqlite3-libs=/usr/local/lib
    configure:20839: checking sqlite3.h usability
    configure:20884: checking sqlite3.h presence
    configure:20955: checking for sqlite3.h
    configure:20981: checking for sqlite3_open in -lsqlite3
    configure:21011: gcc -o conftest -g -O2 -g -Wall -DHAVE_SQL -DHOST='”sparc-sun-solaris2.8″‘ -DNOT_HAVE_SA_LEN -D_XPG4_2 -D__EXTENSIONS__ -DHAVE_BROKEN_RECVIF_NAME -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -I/usr/local/include -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib conftest.c -lsqlite3 -lpthread -lnsl -lsocket -lid3tag -lz >&5
    fdatasync /usr/local/lib/libsqlite3.so

    ld: fatal: Symbol referencing errors. No output written to conftest
    collect2: ld returned 1 exit status
    configure:21017: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    | char sqlite3_open ();
    | sqlite3_open ();
    ac_cv_header_sqlite3_h=yes
    ac_cv_lib_sqlite3_sqlite3_open=no

    #6098
    rpedde
    Participant

    @Scallica wrote:

    ld: fatal: Symbol referencing errors. No output written to conftest
    collect2: ld returned 1 exit status
    configure:21017: $? = 1

    I’m not a huge solaris-head, but I’m pretty sure solaris balks when the compiler can find a library, but the dynamic linker can’t.

    Is /usr/local/lib in your LD_LIBRARY_PATH or your ld.so.conf?

    #6099
    Scallica
    Participant

    No, but I added /usr/local/lib to LD_LIBRARY_PATH and received the same error. The file ld.so.conf does not exist on the system.

    Oh well, i’ll use the linux rpm version for now. I was up and running in minutes.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Nightlies Feedback’ is closed to new topics and replies.