LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem running CUPS with CUPS 1.4b2 beta (http://www.linuxquestions.org/questions/linux-software-2/problem-running-cups-with-cups-1-4b2-beta-697954/)

hikerguy 01-17-2009 12:16 PM

Problem running CUPS with CUPS 1.4b2 beta
 
Has anyone tried compiling and running the new CUPS beta? Everything "seems" to have gone OK (the ./configure, make, and make install), but when I try to restart cups, I get the following message:

Quote:

usr/sbin/cupsd: error while loading shared libraries: libcupsmime.so.1: cannot open shared object file: No such file or directory
cups: unable to start scheduler.
cups: scheduler is not running.
One question I do have is does it matter from which directory I compile and install CUPS? I just made a directory off of my $HOME dir to unpack, compile, and install the beta.

After the install, I did reboot just for good measure.

Thanks,

Andy

knudfl 01-17-2009 02:32 PM

If you have kept the install result in /home/hikerguy/,
you will have to "make" a new library path with a command :

'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/hikerguy/ \
cups/"path-to-directory-with-libs"/'

Replace everything with the actual path.
....

$HOME is the preferred location for compiling.
....

hikerguy 01-17-2009 09:14 PM

knudfl, thanks for the info. I have a question about making the new library path. How do I determine the path to the libs?


'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/hikerguy/ \
cups/"path-to-directory-with-libs"/'

Replace everything with the actual path

knudfl 01-18-2009 01:57 AM

1) A "LIBRARY PATH" made with the above command is
temporary. Once you exit the terminal window, it's gone.

2) Finding the libs :

find /home -name "*libcups*"
....


All times are GMT -5. The time now is 10:49 PM.