[Ur] error building in user directory

Adam Chlipala adamc at impredicative.com
Sat Jan 30 10:21:43 EST 2010


Chris Casinghino wrote:
> This is a simple build error.  When building with a prefix in my home
> directory (--prefix=~/usr), I get the following error during "make
> install":
>
>    ln -sf liburweb_fastcgi.so.1 /home/ccasin/usr/lib/urweb/../liburweb_fastcgi.so
>    ldconfig
>    /sbin/ldconfig.real: Can't create temporary cache file
> /etc/ld.so.cache~: Permission denied
>    make: *** [install] Error 1
>    

The new release I just announced switches to GNU Autotools for the 
details of library installation, but I'm still adding 'ldconfig' to the 
'install' target.  The new version is marked to ignore failures of 
'ldconfig', though, so I hope installation will complete successfully.

> Though the install complete, invocations of
> urweb fail with:
>
>    /usr/bin/ld: cannot find -lurweb
>    

This looks like an issue that you would get with a nonstandard install 
of shared libraries from any package.  The 'make install' target of the 
new release should print instructions on how to cope.  Let me know if 
that doesn't help.



More information about the Ur mailing list