Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Broken compilation process on MacOSX #10

rkhaotix opened this Issue Sep 27, 2012 · 3 comments


None yet
1 participant

rkhaotix commented Sep 27, 2012

pgModeler won't compile on OSX Montain Lion. The problem seems to be with the current stable release of Qt framework. Waiting release of Qt5 to make new tests. ** NOT TESTED ON OLDER OSX VERSIONS, HELP WANTED! **


ghost commented Oct 1, 2012

I am on Mac OS X 10.6.8 and I am willing to try but I did not manage to compile the sources.

$ > qmake pgmodeler.pro
Project ERROR: Package libpq not found

I have the lib here :

$ > ls -al /Library/PostgreSQL/8.4/lib/ | grep libpq
-rwxr-xr-x 1 root daemon 369500 1 jui 07:58 libpq.5.2.dylib
lrwxr-xr-x 1 root daemon 15 24 jul 15:55 libpq.5.dylib -> libpq.5.2.dylib
-rw-r--r-- 1 root daemon 480588 1 jui 07:17 libpq.a
lrwxr-xr-x 1 root daemon 15 24 jul 15:55 libpq.dylib -> libpq.5.2.dylib

I aslo tried to set LD_LIBRARY_PATH=/Library/PostgreSQL/8.4/lib in my ~/.bashrc but I still have the same error.

What am I doing wrong?


rkhaotix commented Oct 1, 2012

Hello @erouxel, the process is really broken on Mac OSX 10.8 not tested on older version.

But if want to test and if are using the code from master branch try to remove the entry "-llibpq" and add "/Library/PostgreSQL/8.4/lib/libpq.dylib" to the var LIBS on pgmodeler.pro.


LIBS = -lxml2 -lpq


LIBS = -lxml2 /Library/PostgreSQL/8.4/lib/libpq.dylib

ghost commented Oct 1, 2012

Hi again
Does that mean that it is also gonna fail on previous versions of OSX ?
Anyway, I tried your modification but I have the same error !

@rkhaotix rkhaotix added a commit that referenced this issue Jan 21, 2013

@rkhaotix rkhaotix + Raphael A. Silva Fixed build process on Mac OS X (issue #10) d406cf0

@rkhaotix rkhaotix closed this Jan 21, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment