title: Linux Program can't find Shared Library at run-time
body: <p>I'm trying to compile a linux program, id3v2, and it says it is can't find the appropriate library: </p>
  
  <pre><code>id3v2: error while loading shared libraries: libid3-3.8.so.3: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>I'm guessing that this is the part that pulls in the lidid3 library? </p>
  
  <p>The file DOES exist, however, what they are looking for is actually a symbolic link to: </p>
  
  <blockquote>
    <p>"ibid3-3.8.so.3.0.0"</p>
  </blockquote>
  
  <p>I'm wondering if it is an issue with it not being able to follow symbolic links? Perhaps I could manually change it to look for 0.0 if I knew where I was looking to change it.  </p>
  
  <p>I'm happy to clarify any details.</p>
  
  <p>It looks like the includes are done in the following manner: </p>
  
  <pre><code>id3v2:  convert.o list.o id3v2.o genre.o
          ${CXX} ${LDFLAGS} -pedantic -Wall -g -o $@ $^ -lz -lid3
  </code></pre>
  
  <p>I was able to use Simon's advice to figure out that there were multiple spots where one might expect a library.  I create a symbolic link where the program was linking to the ACTUAL file.  </p>
  
  <p>Thank you Simon!</p>