Arc Forumnew | comments | leaders | submitlogin
1 point by rocketnia 4711 days ago | link | parent

Okay, that helps a lot.

  $ git pull
  (...)
  $ ./configure
  (...)
  $ make
  (...)
  $ make install
  (...)
  /usr/bin/install: cannot create regular file `/usr/local/lib/libarcueid.so.0.0.0': Permission denied
  (...)
  $ sudo make install
  (...)
  $ arcueid
  arcueid: error while loading shared libraries: libarcueid.so.0: cannot open shared object file: No such file or directory
  $ src/arcueid
  arc> (+ 1 4)
  5
  arc> ^C
  $
What do you think about that error? I don't see anything obviously amiss, but then I don't know what to look for. ^_^;

  $ which arcueid
  /usr/local/bin/arcueid
  $ ls /usr/local/lib | grep arcueid
  libarcueid.a
  libarcueid.la
  libarcueid.so
  libarcueid.so.0
  libarcueid.so.0.0.0
  $ git log
  commit fdeb76087b48ff19d9f2666d05a4429ac4145b24
  (...)


3 points by dido 4711 days ago | link

Try adding the single line

  /usr/local/lib
to the end of /etc/ld.so.conf and then run ldconfig -v. This is a frequent issue when it comes to shared libraries that get installed in /usr/local/lib. I have no idea why most Linux distros don't like to put /usr/local/lib in ld.so.conf by default. It is extremely irritating, since most everything one builds from source installs there by default.

-----

1 point by rocketnia 4711 days ago | link

That works!

Interestingly, this is what /etc/ld.so.conf looked like before:

  include /etc/ld.so.conf.d/*.conf
And this was in /etc/ld.so.conf.d/libc.conf:

  # libc default configuration
  /usr/local/lib
The "include" line doesn't seem to do what it looks like it's supposed to do. :-p The man page for ldconfig doesn't mention "include" at all (nor #-comments...). It would be funny if Linux Mint came with this kind of ld.so.conf but its version of ldconfig thought "include" was just another directory in the list.

-----