Hello all.
I have a small app that only runs on FreeBSD, and have a host where i dont have root.
That app requires many libraries, most of them i have, but the problem , that app doesnt look for libs at current folder.
I tryied running the app on a virtual machine, and when i put required lib files to the /usr/lib it doesnt ask for them .
Is there any other lib/ folder that can is writable by any user ?
Thanks in advance.

You don't have to have the libraries in /usr/lib in order to compile an application. Take a look at this page:
http://linuxmafia.com/faq/Admin/ld-lib-path.html

You *can* set LD_LIBRARY_PATH but it is not recommended. Please see if the site satisfies the compilation issue for you, if not then please post the name(s) of the software(s) you are trying to compile

Thanks for the ideia , but it didnt worked .
I was trying to compile ghost++ (warcraft 3 bot) with some modification from other person who doesnt appear online now .
I dont know why it doesnt work but i've seen the help file that had the same ideia of setting the LD_LIBRARY_PATH.
The problem is that i dont have root on the host where i tryied to compile it.
But anyway, thanks for your answer.
The person who asked me to fix it no longer requires it, so solved.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.