Question: undefined symbol: PQinitOpenSSL
gravatar for jp.of.mars
2.2 years ago by
jp.of.mars10 wrote:

Hello, I try to install galaxy with a postgresql database. But I get an error with psycopg :

migrate.versioning.repository DEBUG 2016-08-22 15:37:28,538 Repository lib/galaxy/model/migrate loaded successfully migrate.versioning.repository DEBUG 2016-08-22 15:37:28,539 Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Galaxy'), ('version_table', 'migrate_version'), ('required_dbs', '[]')]))]) Traceback (most recent call last): File "/rapide/Applications/galaxy/lib/galaxy/webapps/galaxy/", line 63, in paste_app_factory app = global_conf=global_conf, **kwargs )

File "/rapide/Applications/galaxy/lib/galaxy/", line 70, in __init__ self._configure_models( check_migrate_databases=True, check_migrate_tools=check_migrate_tools, config_file=config_file )

File "/rapide/Applications/galaxy/lib/galaxy/", line 899, in _configure_models create_or_verify_database( db_url, config_file, self.config.database_engine_options, app=self )

File "/rapide/Applications/galaxy/lib/galaxy/model/migrate/", line 31, in create_or_verify_database engine = create_engine( url, **engine_options )

File "/rapide/Applications/galaxy/.venv/lib/python2.7/site-packages/sqlalchemy/engine/", line 386, in create_engine return strategy.create(args, *kwargs)

File "/rapide/Applications/galaxy/.venv/lib/python2.7/site-packages/sqlalchemy/engine/", line 75, in create dbapi = dialect_cls.dbapi(**dbapi_args)

File "/rapide/Applications/galaxy/.venv/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/", line 579, in dbapi import psycopg2

File "/rapide/Applications/galaxy/.venv/lib/python2.7/site-packages/psycopg2/", line 50, in <module> from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID

ImportError: /rapide/Applications/galaxy/.venv/lib/python2.7/site-packages/psycopg2/ undefined symbol: PQinitOpenSSL

Could you help me please ?

thanks !

psycopg2 pqinitopenssl galaxy • 689 views
ADD COMMENTlink modified 2.1 years ago • written 2.2 years ago by jp.of.mars10

I suspect that this is related.

ADD REPLYlink written 2.2 years ago by Devon Ryan1.9k
gravatar for jp.of.mars
2.1 years ago by
jp.of.mars10 wrote:


I dowloaded psycopg2 with yum and copy it in .venv directory. Now all is ok.


ADD COMMENTlink written 2.1 years ago by jp.of.mars10
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 115 users visited in the last hour