Results 1 to 6 of 6

Thread: Problem with library.

Hybrid View

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Location
    Gdansk, Poland
    Posts
    4

    Problem with library.

    One of my programs is useing libncurses.so.4.
    In my KNX3.2 I have a libncurses.so.5 , but I can`t find *.4.

    Whre can I find this lib and how to install it?
    Is there any way to run my program with libncurses.so.5?

    Krs

  2. #2
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    Usually there is backward support in newer libraries, what I've had to do is make a link to the new library with the old name, like this:

    ln -s libncurses.so.5 libncurses.so.4

    Note you'll either have to be in the proper directory or use the full pathname.

    HTH

    rock

  3. #3
    Junior Member
    Join Date
    Apr 2003
    Location
    Gdansk, Poland
    Posts
    4
    Thank you

    Krs

  4. #4
    Junior Member
    Join Date
    Apr 2003
    Location
    Gdansk, Poland
    Posts
    4
    I have another problem to solve
    When I`m trying to make a link as You suggest, an error occure:
    "Ln: creating symbolic link ..... : Read-only file system.

    I run my Knoppix from CD. After boot,the library directroy is on ram disk.
    Then I login as root : su root.
    And do the following :
    cd /lib
    ln -s libncurse.so.5 libncurse.so.4 > an error message occures.

    I cheked mount - ramdisk is in read/write mode.

    What I do wrong?

    Krs

  5. #5
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    try this:

    ln -s /lib/libncurses.so.5 /var/lib/libncurses.so.4

    then:

    ldconfig

    /lib is a link to /KNOPPIX which is your cd, but /var is a link to /ramdisk/var so you can write there.

    HTH

    rock

  6. #6
    Junior Member
    Join Date
    Apr 2003
    Location
    Gdansk, Poland
    Posts
    4
    Thank you again, but...

    After applaying all of yours advices, my program givs me this:
    error while loading shared libraries: libncourse.so.4: cannot open shared object file: No such file or directory.

    I checked link/file exists.
    Krs

Similar Threads

  1. How installing a new library ?
    By humi001 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-27-2005, 09:24 PM
  2. Problem Unique to Knoppix Later Versions!(SIS problem!)
    By bongski55 in forum Hardware & Booting
    Replies: 4
    Last Post: 11-15-2003, 10:19 AM
  3. Wierd Problem With USB Keyboard, Maybe Motherboard Problem
    By Triple Six in forum Hardware & Booting
    Replies: 2
    Last Post: 04-15-2003, 04:23 AM

Posting Permissions

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


Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR picture

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR

$23.00



(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT) picture

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)

$700.00



INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH picture

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH

$179.99



AMD Ryzen 5 5500 Processor ( read Description) picture

AMD Ryzen 5 5500 Processor ( read Description)

$59.00



Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151 picture

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151

$79.99



Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor picture

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor

$114.99



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$67.99



Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested picture

Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested

$35.00



Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590 picture

Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590

$129.00