./a.out: error while loading shared libraries: libgraph.so.1: cannot open shared object file: No such file or directory

asked 2018-03-11 06:59:46 +0000

i just installed my library file required for graphics.h. and then i'm getting above error.

edit retag flag offensive close merge delete


Could you please a bit more information about how you installed the library in exact steps. Also provide the output of ldd a.out to see a list of dynamic libraries needed.

thomaswood ( 2018-03-11 11:26:03 +0000 )edit

linux-vdso.so.1 (0x00007ffc5bff4000) libgraph.so.1 => not found libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fa242377000) libm.so.6 => /lib64/libm.so.6 (0x00007fa242022000) libgccs.so.1 => /lib64/libgccs.so.1 (0x00007fa241e0b000) libc.so.6 => /lib64/libc.so.6 (0x00007fa241a28000) /lib64/ld-linux-x86-64.so.2 (0x00007fa2426fe000)

abhi9817 ( 2018-03-11 12:58:34 +0000 )edit

procedure:- 1) tar xvfz libgraph-1.0.2.tar.gz 2) cd libgraph-1.0.2 3)./configure 4)make 5)make install. Done.

abhi9817 ( 2018-03-11 13:03:23 +0000 )edit

Okay, so libgraph.so.1 seems to be the only missing library. Where did you get the a.out' binary from? Which program is it, is there any install how-to. Searching through the Fedora repos, there seems no package providinglibgraph.so.1 `.

thomaswood ( 2018-03-11 13:19:01 +0000 )edit

okay so i got that a.out from terminal. i'm trying to run a small graphics pgm. can you tell me how to get that file.

abhi9817 ( 2018-03-12 13:44:23 +0000 )edit