Hi,
I tried to use hans' ftgl library to get font support in osx. unfortunately that's the error I am getting:
g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin -Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make[2]: *** [Gem.pd_darwin] Error 1
is this related to gem or the ftgl library? thnks, marius.
How did you build Gem? Maybe you are missing some ./configure flags.
.hc
On Apr 13, 2008, at 2:33 PM, marius schebella wrote:
Hi,
I tried to use hans' ftgl library to get font support in osx. unfortunately that's the error I am getting:
g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin -Wl,- framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make[2]: *** [Gem.pd_darwin] Error 1
is this related to gem or the ftgl library? thnks, marius.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
------------------------------------------------------------------------ ----
All information should be free. - the hacker ethic
kidding? I used the autobuild script. marius.
Hans-Christoph Steiner wrote:
How did you build Gem? Maybe you are missing some ./configure flags.
.hc
On Apr 13, 2008, at 2:33 PM, marius schebella wrote:
Hi,
I tried to use hans' ftgl library to get font support in osx. unfortunately that's the error I am getting:
g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin -Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make[2]: *** [Gem.pd_darwin] Error 1
is this related to gem or the ftgl library? thnks, marius.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
All information should be free. - the hacker ethic
the source of this bug is a naming clash between an apple library and a fink library. a description of this bug here: http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#Open... they suggest to add a line like the following, but I am not sure where I should add this: -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib marius.
Hans-Christoph Steiner wrote:
How did you build Gem? Maybe you are missing some ./configure flags.
.hc
On Apr 13, 2008, at 2:33 PM, marius schebella wrote:
Hi,
I tried to use hans' ftgl library to get font support in osx. unfortunately that's the error I am getting:
g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin -Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make[2]: *** [Gem.pd_darwin] Error 1
is this related to gem or the ftgl library? thnks, marius.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
All information should be free. - the hacker ethic
hi, I manually pasted the line -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
into the Make.config file (added to LIBS) after i ran ./configure and then gem compiled nicely. and I got font support for osx in text2d and text3d! unfortunately I don't know how to fix this automatically, maybe someone can add this to the configure script. best, marius.
marius schebella wrote:
the source of this bug is a naming clash between an apple library and a fink library. a description of this bug here: http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#Open...
they suggest to add a line like the following, but I am not sure where I should add this: -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
marius.
Hans-Christoph Steiner wrote:
How did you build Gem? Maybe you are missing some ./configure flags.
.hc
On Apr 13, 2008, at 2:33 PM, marius schebella wrote:
Hi,
I tried to use hans' ftgl library to get font support in osx. unfortunately that's the error I am getting:
g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin -Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make[2]: *** [Gem.pd_darwin] Error 1
is this related to gem or the ftgl library? thnks, marius.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
All information should be free. - the hacker ethic
marius schebella wrote:
hi, I manually pasted the line -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
into the Make.config file (added to LIBS) after i ran ./configure and then gem compiled nicely. and I got font support for osx in text2d and text3d! unfortunately I don't know how to fix this automatically, maybe someone can add this to the configure script.
i rather think that this known bug should be fixed upstream instead of including kludges in all affected packages.
however, a generic solution for such hacks could be to use special environment variables to additionally add linker and compiler flags.
e.g. something like GEM_ADDITIONAL_LDFLAGS="-Wl,-dylib_file,/bi/ba/bo.dylib " make
currently you can probably abuse the "X_LIBS" envvar.
fmgads IOhannes
iohannes, do you think you could add this GEM_ADDITIONAL_FLAG thing? I am not the one who can do it myself, don't know where and how. it is a 10.5 problem, and I think it is only needed when I compile with ftgl/font support. if you add it somewhere then I can use it to run an autobuild later today. (I can do it manually if I only compile gem, but autobuild does all this automatically and I cannot interupt the script to add some lines in the config file :( ) thanks, marius.
IOhannes m zmölnig wrote:
marius schebella wrote:
hi, I manually pasted the line -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
into the Make.config file (added to LIBS) after i ran ./configure and then gem compiled nicely. and I got font support for osx in text2d and text3d! unfortunately I don't know how to fix this automatically, maybe someone can add this to the configure script.
i rather think that this known bug should be fixed upstream instead of including kludges in all affected packages.
however, a generic solution for such hacks could be to use special environment variables to additionally add linker and compiler flags.
e.g. something like GEM_ADDITIONAL_LDFLAGS="-Wl,-dylib_file,/bi/ba/bo.dylib " make
currently you can probably abuse the "X_LIBS" envvar.
fmgads IOhannes
marius schebella wrote:
iohannes, do you think you could add this GEM_ADDITIONAL_FLAG thing? I am not the
Gem's makefiles now respect 2 additional envvariables
GEM_EXTRA_CXXFLAGS (for the compiler) GEM_EXTRA_LDFLAGS (for the linker)
i chose EXTRA instead of ADDITIONAL because of typing...
it should be available in anonymous CVS within the next 15 minutes.
fgamsdr IOhannes
On Apr 14, 2008, at 2:53 AM, IOhannes m zmölnig wrote:
marius schebella wrote:
hi, I manually pasted the line -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/ Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGL.dylib
into the Make.config file (added to LIBS) after i ran ./configure and then gem compiled nicely. and I got font support for osx in text2d and text3d! unfortunately I don't know how to fix this automatically, maybe someone can add this to the configure script.
i rather think that this known bug should be fixed upstream instead of including kludges in all affected packages.
however, a generic solution for such hacks could be to use special environment variables to additionally add linker and compiler flags.
e.g. something like GEM_ADDITIONAL_LDFLAGS="-Wl,-dylib_file,/bi/ba/bo.dylib " make
currently you can probably abuse the "X_LIBS" envvar.
Is this needed on Mac OS X:
-L/usr/X11R6/lib
If not, removing that on Mac OS X might be a simpler fix.
.hc
------------------------------------------------------------------------ ----
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White
On Mon, Apr 14, 2008 at 12:24 PM, Hans-Christoph Steiner hans@eds.org wrote:
Is this needed on Mac OS X:
-L/usr/X11R6/lib
If not, removing that on Mac OS X might be a simpler fix.
It is not required on OSX.
that seems to be the better solution, then? and in reply to iohannes' mail from earlier today. I saw that you changed the Makefile and Makefile.subdir. but I am not sure if the line got added, or where the extra flags should be edited? but maybe that's deprecated already. marius.
chris clepper wrote:
On Mon, Apr 14, 2008 at 12:24 PM, Hans-Christoph Steiner <hans@eds.org mailto:hans@eds.org> wrote:
Is this needed on Mac OS X: -L/usr/X11R6/lib If not, removing that on Mac OS X might be a simpler fix.
It is not required on OSX.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
still getting the same error g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin -Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make: *** [Gem.pd_darwin] Error 1 iohannes you suggested to add additional flags, but I don't know where. chris you suggested to remove -L/usr/X11R6/lib, but I don't know where. marius.
chris clepper wrote:
On Mon, Apr 14, 2008 at 12:24 PM, Hans-Christoph Steiner <hans@eds.org mailto:hans@eds.org> wrote:
Is this needed on Mac OS X: -L/usr/X11R6/lib If not, removing that on Mac OS X might be a simpler fix.
It is not required on OSX.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
On Wed, Apr 16, 2008 at 10:55 AM, marius schebella < marius.schebella@gmail.com> wrote:
still getting the same error g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin -Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make: *** [Gem.pd_darwin] Error 1 iohannes you suggested to add additional flags, but I don't know where. chris you suggested to remove -L/usr/X11R6/lib, but I don't know where. marius.
LDFLAGS ? I don't know what your makefile looks like though.
I'm using the makefile that ships with gem. I do cd Gem/src aclocal autoconf /configure --without-x --without-ImageMagick --without-tiff --without-jpeg --without-mpeg --without-mpeg3 --without-ieee1394 --without-aviplay --without-avifile --without-ffmpeg --with-ftgl-includes=/sw/include --with-ftgl-libs=/sw/lib --with-pd=/Users/marius/devel/pd-rsync/pd-extended/pd make
I think the makefile is not the problem, but the config process, because I end up with a Make.config that has GEM_LIBS = $(LIBS) -Wl,-framework,OpenGL -L/sw/lib -L/usr/X11R6/lib -lobjc -lfreetype -lftgl but without -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib which would bout solve a problem that is caused by apple and not gem. so I have to go into Make.config and edit this by hand (which I cannot do when I try to run the autobuild scripts). what I would need is a fix that writes a "correct" Make.config.
since this is all an apple problem I am also trying to upgrade xcode and hope that apple fixed the problem in between. marius.
chris clepper wrote:
On Wed, Apr 16, 2008 at 10:55 AM, marius schebella <marius.schebella@gmail.com mailto:marius.schebella@gmail.com> wrote:
still getting the same error g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin -Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make: *** [Gem.pd_darwin] Error 1 iohannes you suggested to add additional flags, but I don't know where. chris you suggested to remove -L/usr/X11R6/lib, but I don't know where. marius.
LDFLAGS ? I don't know what your makefile looks like though.
Looking at the configure.ac file building on Darwin should disable x11, but maybe there is a problem elsewhere in the configure process? This is more of a Zmoelnig quesiton since I use XCode on OSX. If you want a project file I can post it here although it will probably require a fair amount of work to make usable especially if you are not used to Apple's second rate IDE.
On Wed, Apr 16, 2008 at 11:49 AM, marius schebella < marius.schebella@gmail.com> wrote:
I'm using the makefile that ships with gem. I do cd Gem/src aclocal autoconf /configure --without-x --without-ImageMagick --without-tiff --without-jpeg --without-mpeg --without-mpeg3 --without-ieee1394 --without-aviplay --without-avifile --without-ffmpeg --with-ftgl-includes=/sw/include --with-ftgl-libs=/sw/lib --with-pd=/Users/marius/devel/pd-rsync/pd-extended/pd make
I think the makefile is not the problem, but the config process, because I end up with a Make.config that has GEM_LIBS = $(LIBS) -Wl,-framework,OpenGL -L/sw/lib -L/usr/X11R6/lib -lobjc -lfreetype -lftgl but without
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib which would bout solve a problem that is caused by apple and not gem. so I have to go into Make.config and edit this by hand (which I cannot do when I try to run the autobuild scripts). what I would need is a fix that writes a "correct" Make.config.
since this is all an apple problem I am also trying to upgrade xcode and hope that apple fixed the problem in between. marius.
chris clepper wrote:
On Wed, Apr 16, 2008 at 10:55 AM, marius schebella <
marius.schebella@gmail.com mailto:marius.schebella@gmail.com> wrote:
still getting the same error
g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin -Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make: *** [Gem.pd_darwin] Error 1 iohannes you suggested to add additional flags, but I don't know where. chris you suggested to remove -L/usr/X11R6/lib, but I don't know where. marius.
LDFLAGS ? I don't know what your makefile looks like though.
chris clepper wrote:
Looking at the configure.ac http://configure.ac file building on Darwin should disable x11, but maybe there is a problem elsewhere in the configure process? This is more of a Zmoelnig quesiton since I use
yes of course.
i think the problem is that other dependencies used in the configure process (wild guess: freetype/FTGL) pull the "-L/usr/X11R6/lib" into the Make.config
i don't no what one could do about this.
XCode on OSX. If you want a project file I can post it here although it will probably require a fair amount of work to make usable especially if you are not used to Apple's second rate IDE.
chris, speaking of this: - would it be possible to update the already checked in project file? preferrably it would be moved to the new directory build/ (create a "osx_xcode/" directory therein) so the projects don't pollute the directory structure :-) oh, i would love to have SVN.... - would it also be possible to provide a recent "official" build of Gem for OS-X? preferrably as a fat binary.
fgmads.r IOhannes
chris clepper wrote:
Looking at the configure.ac http://configure.ac file building on Darwin should disable x11, but maybe there is a problem elsewhere in the configure process? This is more of a Zmoelnig quesiton since I use XCode on OSX. If you want a project file I can post it here although it will probably require a fair amount of work to make usable especially if you are not used to Apple's second rate IDE.
no, I am fine, since manually it works. I am only trying to get the autobuilds working and I think project files do not help here. (and I am not familiar with 2nd rate ide neither..) marius.
On Wed, Apr 16, 2008 at 11:49 AM, marius schebella <marius.schebella@gmail.com mailto:marius.schebella@gmail.com> wrote:
I'm using the makefile that ships with gem. I do cd Gem/src aclocal autoconf /configure --without-x --without-ImageMagick --without-tiff --without-jpeg --without-mpeg --without-mpeg3 --without-ieee1394 --without-aviplay --without-avifile --without-ffmpeg --with-ftgl-includes=/sw/include --with-ftgl-libs=/sw/lib --with-pd=/Users/marius/devel/pd-rsync/pd-extended/pd make I think the makefile is not the problem, but the config process, because I end up with a Make.config that has GEM_LIBS = $(LIBS) -Wl,-framework,OpenGL -L/sw/lib -L/usr/X11R6/lib -lobjc -lfreetype -lftgl but without -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib which would bout solve a problem that is caused by apple and not gem. so I have to go into Make.config and edit this by hand (which I cannot do when I try to run the autobuild scripts). what I would need is a fix that writes a "correct" Make.config. since this is all an apple problem I am also trying to upgrade xcode and hope that apple fixed the problem in between. marius. chris clepper wrote: On Wed, Apr 16, 2008 at 10:55 AM, marius schebella <marius.schebella@gmail.com <mailto:marius.schebella@gmail.com> <mailto:marius.schebella@gmail.com <mailto:marius.schebella@gmail.com>>> wrote: still getting the same error g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin -Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make: *** [Gem.pd_darwin] Error 1 iohannes you suggested to add additional flags, but I don't know where. chris you suggested to remove -L/usr/X11R6/lib, but I don't know where. marius. LDFLAGS ? I don't know what your makefile looks like though.
Marius,
Did you delete that libfreetype in /usr/local/lib? Since I can successfully auto-build Gem on two different 10.5/Leopard machines, I am guessing it is something in your setup, especially things like manually installed libs in /usr/local and other places.
.hc
On Apr 16, 2008, at 1:29 PM, marius schebella wrote:
chris clepper wrote:
Looking at the configure.ac http://configure.ac file building on Darwin should disable x11, but maybe there is a problem elsewhere in the configure process? This is more of a Zmoelnig quesiton since I use XCode on OSX. If you want a project file I can post it here although it will probably require a fair amount of work to make usable especially if you are not used to Apple's second rate IDE.
no, I am fine, since manually it works. I am only trying to get the autobuilds working and I think project files do not help here. (and I am not familiar with 2nd rate ide neither..) marius.
On Wed, Apr 16, 2008 at 11:49 AM, marius schebella <marius.schebella@gmail.com mailto:marius.schebella@gmail.com> wrote: I'm using the makefile that ships with gem. I do cd Gem/src aclocal autoconf /configure --without-x --without-ImageMagick --without-tiff --without-jpeg --without-mpeg --without-mpeg3 --without-ieee1394 --without-aviplay --without-avifile --without-ffmpeg --with-ftgl-includes=/sw/include --with-ftgl-libs=/sw/lib --with-pd=/Users/marius/devel/pd-rsync/pd-extended/pd make I think the makefile is not the problem, but the config process, because I end up with a Make.config that has GEM_LIBS = $(LIBS) -Wl,-framework,OpenGL -L/sw/lib -L/usr/ X11R6/lib -lobjc -lfreetype -lftgl but without -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/ Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGL.dylib which would bout solve a problem that is caused by apple and not gem. so I have to go into Make.config and edit this by hand (which I cannot do when I try to run the autobuild scripts). what I would need is a fix that writes a "correct" Make.config. since this is all an apple problem I am also trying to upgrade xcode and hope that apple fixed the problem in between. marius. chris clepper wrote: On Wed, Apr 16, 2008 at 10:55 AM, marius schebella <marius.schebella@gmail.com mailto:marius.schebella@gmail.com <mailto:marius.schebella@gmail.com mailto:marius.schebella@gmail.com>> wrote: still getting the same error g++ -o Gem.pd_darwin -dynamiclib -mmacosx-version- min=10.3 -undefined dynamic_lookup -framework QuickTime - framework Carbon -framework AGL -framework OpenGL ./Objects/*.o -L/sw/lib -ldl -lz -lm -lpthread -L/Users/marius/devel/pd-rsync/pd- extended/pd/bin -Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype -lftgl ld: cycle in dylib re-exports with /usr/X11R6/lib/ libGL.dylib collect2: ld returned 1 exit status make: *** [Gem.pd_darwin] Error 1 iohannes you suggested to add additional flags, but I don't know where. chris you suggested to remove -L/usr/X11R6/lib, but I don't know where. marius. LDFLAGS ? I don't know what your makefile looks like though.
------------------------------------------------------------------------ ----
Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith
Hans-Christoph Steiner wrote:
Marius,
Did you delete that libfreetype in /usr/local/lib? Since I can successfully auto-build Gem on two different 10.5/Leopard machines, I am guessing it is something in your setup, especially things like manually installed libs in /usr/local and other places.
yep! I removed everything. the only thing that finally helped was to upgrade xcode to 3.1. now, I just had the same success as brandon, a freshly built pd-extended, including font support for gem.
marius.
On Apr 16, 2008, at 5:37 PM, marius schebella wrote:
Hans-Christoph Steiner wrote:
Marius, Did you delete that libfreetype in /usr/local/lib? Since I can successfully auto-build Gem on two different 10.5/Leopard machines, I am guessing it is something in your setup, especially things like manually installed libs in /usr/local and other places.
yep! I removed everything. the only thing that finally helped was to upgrade xcode to 3.1. now, I just had the same success as brandon, a freshly built pd- extended, including font support for gem.
Yeeee haw! Yeah, Xcode 3.0 and its gcc definitely has bugs. Xcode 3.1 (aka iPhone SDK) still has some, but it is better. I still can't build the gcc43 package which is needed by fftw3. That build works fine on 10.4/Xcode 2.5
.hc
------------------------------------------------------------------------ ----
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White