Giter Club home page Giter Club logo

Comments (3)

mschwager avatar mschwager commented on July 16, 2024

I'm unable to reproduce locally, but we have a few options for solving the problem.

If you'd just like to get-it-working then this (http://stackoverflow.com/a/17704255) seems like it should be sufficient.

If you'd like to solve the linker issue then I'm going to need more information. When installing with the --prefix flag configured you should see something like:

Libraries have been installed in:
   /path/to/prefix/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

On my system, when running make, I see login_duo being compiled correctly with -Wl,-rpath -Wl,/path/to/prefix/lib, and the binary runs correctly. I'm assuming this isn't the case for you.

Could you post the output of your ./configure, make, and make install commands?

Thanks!

from duo_unix.

Noleli avatar Noleli commented on July 16, 2024

Thanks! Using otool did the trick. The output of my configure and the Makefile are at https://gist.github.com/Noleli/0d7ac10b193c1a74cc8f

I guess the main thing is that since it'll have to be installed in /usr/local on El Capitan, it'd be nice if it worked "out of the box" by following the directions in the docs.

from duo_unix.

mschwager avatar mschwager commented on July 16, 2024

Hey @Noleli, I was able to reproduce your issue, and the above commit fixed it for me. Can you confirm?

from duo_unix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.