Thanks for your help.
In fact I am trying to install a custom odbc client to the chroot.
And the program ran in runguard can see text config file.
But the library odbc.so isn't found even if I can see it with an ls command.

But when I installed the api it installed correctly.
Do I need to modify something to make the file be able to see by the runguard program?

2018-03-22 21:19 GMT+01:00 Jaap Eldering <jaap@jaapeldering.nl>:
On 22/03/18 15:30, Guillaume MILAN wrote:
> Hello, 
> I installed a software library on my debian system with apt-get. 
> But the library doesn't appear in the /usr/lib folder during the runguard execution.

Did you install it on the host or inside the chroot? It has to be installed in the chroot to be available.

You can use the dj_run_chroot program to "login" to the chroot, or execute a command there.
 
> As i understood you create temporary symbolic link in the root folder of the chroot execution which is located in the folder c<contest>-s<problem>-j<id>.
> From where do you create your symbolic link. 

Well, it's not a symbolic link, but a bind mount. But for practical purposes that is somewhat similar.

This is done in the script chroot-startstop.sh, which is executed by the judgedaemon.

Best,
Jaap

_______________________________________________
DOMjudge-devel mailing list
DOMjudge-devel@domjudge.org
https://www.domjudge.org/mailman/listinfo/domjudge-devel