Results 1 to 2 of 2

Thread: Runtime failure with "undefined symbol" only when built with OBS. rpmbuild is good.

  1. #1
    Join Date
    Aug 2010
    Location
    Athens, Greece
    Posts
    11

    Question Runtime failure with "undefined symbol" only when built with OBS. rpmbuild is good.

    My package is a new one:
    https://build.opensuse.org/package/s...home%3Aachaios
    It builds and runs greatly with rpmbuild.
    It builds with osc locally and remotely but fails at runtime with an error message:
    # igdaemon -n --log-level=1
    INFO: Loaded driver: /usr/lib64/iguanaIR/libusbpre1.so
    igdaemon: symbol lookup error: /usr/lib64/iguanaIR/libusbpre1.so: undefined symbol: usb_init

    How is it possible that it can't find it's dependencies even when run in the chroot?

  2. #2
    Join Date
    Aug 2010
    Location
    Athens, Greece
    Posts
    11

    Default Re: Runtime failure with "undefined symbol" only when built with OBS. rpmbuild is good.

    Solved after struggling for 4 days with it.
    I was just another victim of the mysterious SUSE_ASNEEDED environment flag.
    Is it even documented anywhere?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •