Pgloader: Couldn't re-execute SBCL with proper personality flags

Created on 5 Feb 2017  路  10Comments  路  Source: dimitri/pgloader

I'm trying to run pgloader, but I always get the following error as soon as I execute the program. Even if I do something as simple as pgloader --help:

WARNING:
Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)
Trying to continue anyway.

debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "main thread" RUNNING {1008CC43B3}>:
  Error opening shared object "libssl.so.1.0.0":
  libssl.so.1.0.0: cannot open shared object file: No such file or directory.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE       ] Skip this shared object and continue.
  1: [RETRY          ] Retry loading this shared object.
  2: [CHANGE-PATHNAME] Specify a different pathname to load the shared object from.

(SB-SYS:DLOPEN-OR-LOSE #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P"libssl.so.1.0.0" :NAMESTRING "libssl.so.1.0.0" :HANDLE NIL :DONT-SAVE NIL))

Most helpful comment

All 10 comments

Looks like an SBCL problem, I don't think I can help you with that. Please see http://www.sbcl.org and ask them...

Hello! I'm facing the same problem, @Chekote, did you find any solution?

Same here.

I posted a bug report over at SBCL, but I now suspect this to be a Docker issue because:

a) I tried to compile a bunch of SBCL Dockerfiles found online and they all end up with the same Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?)

b) I managed to install and execute pgloader and sbcl without warning on a non-Docker Ubuntu install (on an Amazon EC2 instance), using the same commands I was using inside the Dockerfile.

I'd be happy to hear which environment @Chekote and @yamila-moreno were using.

Hi @fabswt thanks for your answer and your research; indeed I was using a Docker environment; my docker-compose has 3 services:

  • postgres
  • mysql
  • pgloader
    and a network to connect them all. I could access both the databases from the pgloader container (so it wasn't a networking issue).

I'll try with a virtualbox machine. Thanks for sharing!!

Hi again; I've tried to use pgloader inside a virtualbox (with postgres, mysql and pgloader) and after some tuning (with ONLY_FULL_GROUP_BY) it finally worked!!

Thanks to @fabswt cause your hint lead me to the next step 馃憤

@yamila-moreno afaik you can do it in docker with docker run --security-opt seccomp=unconfined

or by providing an explicit seccomp profile. See: https://github.com/daewok/slime-docker/blob/master/README.md#sbcl-aslr

@mmariani thanks for your tip! Very appreciated.

Please consider adding those tips to the wiki here!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fernandoluizao picture fernandoluizao  路  4Comments

fabswt picture fabswt  路  5Comments

kim-ae picture kim-ae  路  5Comments

nibty picture nibty  路  4Comments

timuckun picture timuckun  路  4Comments