<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><div id="bloop_customfont" style="margin: 0px;">Hello,</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">I am building a package using Cerbero.</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">I have set install_dir in the package to /opt/myapp and it correctly places all files under /opt/myapp/bin, /opt/myapp/lib etc. while building for linux.</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">The issue is that besides binaries, my app builds one library that is located in /opt/myapp/lib/something.so. When I try to run the binaries that use the library it throws</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">error while loading shared libraries: libmyapp.so.0: cannot open shared object file: No such file or directory</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">Obviously I can set LD_LIBRARY_PATH but this is not a proper solution.</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">When I globally set Cerbero’s prefix to /opt/myapp it works fine, but I want to avoid such hack, especially that it requires altering configuration of whole Cerbero that I use to build multiple apps.</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">Is there any Cerbero configuration variable that I should alter to set proper path for a loader that I have missed or there’s rather something wrong with my autotools scripts?</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">Marcin</div><div><br></div></div><br><div id="bloop_sign_1463235805660817152" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px"><br></div></div></body></html>