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

Like akkartik before me, I'm having some trouble. Here's my story:

  Started from a barely used Linux Mint 12 installation.
  Installed libgmp-dev, check, and git. (The packages pkg-config,
  autoconf, automake, and libtool were already installed.)
  Created an SSH key and set it up with GitHub.
  mkdir -p ~/mine/prog/repo
  cd ~/mine/prog/repo
  git clone git://
  cd arcueid
  autoreconf -i
  Got the following error, among other output:
  /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT compiler.lo -MD -MP -MF .deps/compiler.Tpo -c -o compiler.lo compiler.c
  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT compiler.lo -MD -MP -MF .deps/compiler.Tpo -c compiler.c  -fPIC -DPIC -o .libs/compiler.o
  compiler.c: In function 'macex':
  compiler.c:81:9: error: 'debug' undeclared (first use in this function)
  compiler.c:81:9: note: each undeclared identifier is reported only once for each function it appears in
  make[2]: *** [compiler.lo] Error 1
The most recent commit is

Help? :)

1 point by dido 3875 days ago | link

Do a git pull. Oops, some debugging code I was using temporarily made it into the repo. Will try to ensure this doesn't happen again. Last commit should be: fdeb76087b48ff19d9f2666d05a4429ac4145b24


1 point by rocketnia 3875 days ago | link

Okay, that helps a lot.

  $ git pull
  $ ./configure
  $ make
  $ make install
  /usr/bin/install: cannot create regular file `/usr/local/lib/': Permission denied
  $ sudo make install
  $ arcueid
  arcueid: error while loading shared libraries: cannot open shared object file: No such file or directory
  $ src/arcueid
  arc> (+ 1 4)
  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
  $ ls /usr/local/lib | grep arcueid
  $ git log
  commit fdeb76087b48ff19d9f2666d05a4429ac4145b24


3 points by dido 3875 days ago | link

Try adding the single line

to the end of /etc/ 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 by default. It is extremely irritating, since most everything one builds from source installs there by default.


1 point by rocketnia 3875 days ago | link

That works!

Interestingly, this is what /etc/ looked like before:

  include /etc/*.conf
And this was in /etc/

  # libc default configuration
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 but its version of ldconfig thought "include" was just another directory in the list.