#3 missing prefix on libdir

closed
nobody
None
5
2002-03-17
2002-01-27
No

running ./configure --prefix=somedir

does not set the libdir correctly in the Makefile

always get

libdir = /lib

(RH 7.2)

tsocks 1.7

Discussion

  • Shaun Clowes

    Shaun Clowes - 2002-02-16
    • status: open --> pending
     
  • Shaun Clowes

    Shaun Clowes - 2002-02-16

    Logged In: YES
    user_id=128514

    This is deliberate, its a really bad idea for tsocks to be
    installed in /usr/lib if tsocks is added
    to /etc/ld.so.preload since it may not be on a mounted
    filesystem when it is needed on the next reboot. I agree
    it's a problem but I can't think of a good resolution, I'd
    like to hear your suggestions

     
  • Shaun Clowes

    Shaun Clowes - 2002-02-16

    Logged In: YES
    user_id=128514

    Actually, something you might like to note is that you can
    still set this with --libdir=DIR (it just doesn't include
    prefix normally)

     
  • Shaun Clowes

    Shaun Clowes - 2002-02-16
    • status: pending --> open
     
  • Sean Burlington

    Sean Burlington - 2002-02-16

    Logged In: YES
    user_id=440584

    I hadn't spottde --libdir=DIR

    but isn't it possible to set
    if ($prefix != /usr){
    libdir=${prefix}/lib
    }

    I'm afraid I'm not very familiar wih Makefiles ...

     
  • Shaun Clowes

    Shaun Clowes - 2002-02-21

    Logged In: YES
    user_id=128514

    It certainly is, but that isn't really a sufficient check
    (on some/most systems /usr isn't mounted as part of the
    root filesystem). This means that people can end up in the
    situation I described before, that is, the system won't
    boot because tsocks isn't available for the first process
    that needs it (when it is put in /etc/ld.so.preload)

     
  • Shaun Clowes

    Shaun Clowes - 2002-02-21

    Logged In: YES
    user_id=128514

    It certainly is, but that isn't really a sufficient check
    (on some/most systems /usr isn't mounted as part of the
    root filesystem). This means that people can end up in the
    situation I described before, that is, the system won't
    boot because tsocks isn't available for the first process
    that needs it (when it is put in /etc/ld.so.preload)

     
  • Shaun Clowes

    Shaun Clowes - 2002-03-17
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks