Re: ldconfig screws up my installation

From: Ralph Angenendt (ralph@strg-alt-entf.org)
Date: Sat Mar 18 2000 - 14:45:05 PST

  • Next message: Kurt Savegnago: "Scanner Recommendations?"

    On Mit, Mär 15, 2000 at 12:56:34 +0100, Oliver Rauch wrote:
    > Ralph Angenendt wrote:
    >
    > > > Normally this link should point to sane/libsane-dll....
    > > >
    > > > Did you try sane-1.0.1 or sane-1.0.2?
    > > > If you tried sane-1.0.2 remove sane-1.0.1 before ...
    > >
    > > This happens with sane-1.0.2 as I recognized yesterday. Yes,
    > > sane-1.0.1 has been uninstalled beforehand. I couldn't get my Microtek
    > > E6 to work.
    > >
    >
    > this is strange, it works fine for me.
    > Did you remove the subdirectory "sane" in /usr/(local)/lib
    > before you installed sane-1.0.2?

    Okay, took me some days to have some time for trying it out. I removed
    everything related to sane from my system (in /usr/local/lib/,
    ../etc/, ../bin etc.). I unpacked sane-1.0.2, did a ( ./configure ;
    make ; su -c "make install ) and edited /usr/local/etc/dll.conf, so
    that it just contains "microtek".

    | shutdown:/usr/local/lib/sane# ls -l libsane.so.1
    | lrwxrwxrwx 1 root staff 21 Mar 18 23:34 libsane.so.1 -> libsane-umax.so.1.0.2
    | shutdown:/usr/local/lib/sane# rm libsane.so.1
    | shutdown:/usr/local/lib/sane# ln -s libsane-dll.so.1 libsane.so.1
    | shutdown:/usr/local/lib/sane# ls -l libsane.so.1
    | lrwxrwxrwx 1 root staff 16 Mar 18 23:41 libsane.so.1 -> libsane-dll.so.1
    | shutdown:/usr/local/lib/sane# /sbin/ldconfig
    | shutdown:/usr/local/lib/sane# ls -l libsane.so.1
    | lrwxrwxrwx 1 root staff 21 Mar 18 23:42 libsane.so.1 -> libsane-umax.so.1.0.2
    | shutdown:/usr/local/lib/sane#

    Huh?

    > I can not imagine why ldconfig should set a link?!

    Me neither - but it does.

    > What is your system?

    Debian 2.1 Slink on i386.

    Ralph

    -- 
    The original version was written in MDL (alias MUDDLE). The
    current version was translated from MDL into FORTRAN IV by a
    somewhat paranoid DEC engineer who prefers to remain anonymous.
    	-- aus dem Spiel "Dungeon"
    


    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Sat Mar 18 2000 - 16:53:14 PST