help with OSX make problem
help with OSX make problem
От:
Theodore Petrosky <tedpet5@yahoo.com>
Дата:
Please, I need some help figuring out a Mac OS X problem. I downloaded and installed the libiodbc-3.51.1 sources. then the psqlodbc-07.03.0200 sources. I configured with ./configure --with-iodbc however, before finishing make I am getting errors like this: ld: Undefined symbols: _CFBundleCopyExecutableURL _CFBundleCopyResourceURL _CFBundleGetBundleWithIdentifier _CFRelease _CFStringGetCString _CFURLCopyFileSystemPath ___CFStringMakeConstantString make[1]: *** [psqlodbc.la] Error 1 make: *** [all] Error 2 This looks like 'core foundations' stuff.. Does anyone know what I am doing wrong? My mac is running OS X 10.2.8 with the dec 2002 update (gcc 3.3). I know I don't see many people trying to use ODBC on a Mac but I am going to get this to work... Ted __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
Re: help with OSX make problem
От:
Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
Дата:
Hi Theodore, Theodore Petrosky writes: > Please, I need some help figuring out a Mac OS X problem. > I downloaded and installed the libiodbc-3.51.1 sources. Isn't that another ODBC implementation? Mac OS X already has a version of ODBC by Apple, so you shouldn't need that. > then the psqlodbc-07.03.0200 sources. > I configured with ./configure --with-iodbc however, before finishing > make I am getting errors like this: > > ld: Undefined symbols: > _CFBundleCopyExecutableURL > _CFBundleCopyResourceURL > _CFBundleGetBundleWithIdentifier > _CFRelease > _CFStringGetCString > _CFURLCopyFileSystemPath > ___CFStringMakeConstantString > make[1]: *** [psqlodbc.la] Error 1 > make: *** [all] Error 2 > > This looks like 'core foundations' stuff.. Right. So you probably just need to add "-framework CoreFoundation" to your link line. benny
Re: help with OSX make problem
От:
Theodore Petrosky <tedpet5@yahoo.com>
Дата:
Benny, Thanks, it does indeed make without the iodbc however I can not add a DSN in odbc administator... according to all the information I can find, making psqlODBC with iodbc and using the iodbc admin program is supposed to work. I can not for the life of me understand how to get this to work. I was emailing someone that did get it to work, however there must be a difference in his system setup as his method of ./configure --with-iodbc, make, make install fails for me. I don't know where or how to get the process to see my core foundation stuff. If you can help please do.... Ted --- Benjamin Riefenstahl wrote: > Hi Theodore, > > > Theodore Petrosky writes: > > Please, I need some help figuring out a Mac OS X > problem. > > > I downloaded and installed the libiodbc-3.51.1 > sources. > > Isn't that another ODBC implementation? Mac OS X > already has a > version of ODBC by Apple, so you shouldn't need > that. > > > then the psqlodbc-07.03.0200 sources. > > > I configured with ./configure --with-iodbc > however, before finishing > > make I am getting errors like this: > > > > ld: Undefined symbols: > > _CFBundleCopyExecutableURL > > _CFBundleCopyResourceURL > > _CFBundleGetBundleWithIdentifier > > _CFRelease > > _CFStringGetCString > > _CFURLCopyFileSystemPath > > ___CFStringMakeConstantString > > make[1]: *** [psqlodbc.la] Error 1 > > make: *** [all] Error 2 > > > > This looks like 'core foundations' stuff.. > > Right. So you probably just need to add "-framework > CoreFoundation" > to your link line. > > > benny > > > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
Re: help with OSX make problem
От:
Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
Дата:
Hi Theodore, First thing, I got my PostgreSQL as a binary package from , so if all you want is the software, you may want to get it from there. Sorry for not thinking of this earlier. Theodore Petrosky writes: > it does indeed make without the iodbc however I can not add a DSN in > odbc administator... So with this "make" and "make install" succeded? In my installation there exists a file /Library/PostgreSQL/lib/libpsqlodbc.so.0.27 (yours will have a different version number, of course). This is the driver file, which is added here in the "Driver" tab of the ODBC Administrator. When you have the driver registered, you should be able to create a DSN. There are no configuration dialogs, everything is configured via property lists. The keywords I am using here are "Database", "Port" and "Servername" with the obvious values. This setup has worked fine, last I used it (which was some time ago, I admit). > I don't know where or how to get the process to see my core > foundation stuff. Add "-framework CoreFoundation" to the relevant options in the Makefile, typically that would be a symbol named "LIBS" or "LIBADD". benny
Re: help with OSX make problem
I'm not sure if makes any difference, but do you have the iodbc development kit installed? I do. On Nov 7, 2003, at 9:14 AM, Theodore Petrosky wrote: > Benny, > > Thanks, > > it does indeed make without the iodbc however I can > not add a DSN in odbc administator... according to all > the information I can find, making psqlODBC with iodbc > and using the iodbc admin program is supposed to work. > > I can not for the life of me understand how to get > this to work. > > I was emailing someone that did get it to work, > however there must be a difference in his system setup > as his method of ./configure --with-iodbc, make, make > install fails for me. > > I don't know where or how to get the process to see > my core foundation stuff. > > If you can help please do.... > > Ted > > --- Benjamin Riefenstahl > wrote: >> Hi Theodore, >> >> >> Theodore Petrosky writes: >>> Please, I need some help figuring out a Mac OS X >> problem. >> >>> I downloaded and installed the libiodbc-3.51.1 >> sources. >> >> Isn't that another ODBC implementation? Mac OS X >> already has a >> version of ODBC by Apple, so you shouldn't need >> that. >> >>> then the psqlodbc-07.03.0200 sources. >> >>> I configured with ./configure --with-iodbc >> however, before finishing >>> make I am getting errors like this: >>> >>> ld: Undefined symbols: >>> _CFBundleCopyExecutableURL >>> _CFBundleCopyResourceURL >>> _CFBundleGetBundleWithIdentifier >>> _CFRelease >>> _CFStringGetCString >>> _CFURLCopyFileSystemPath >>> ___CFStringMakeConstantString >>> make[1]: *** [psqlodbc.la] Error 1 >>> make: *** [all] Error 2 >>> >>> This looks like 'core foundations' stuff.. >> >> Right. So you probably just need to add "-framework >> CoreFoundation" >> to your link line. >> >> >> benny >> >> >> ---------------------------(end of >> broadcast)--------------------------- >> TIP 4: Don't 'kill -9' the postmaster > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > ---------------------------(end of > broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to > majordomo@postgresql.org
Re: help with OSX make problem
От:
Theodore Petrosky <tedpet5@yahoo.com>
Дата:
Timothy, Yes, i downloaded and installed libiodbc-3.51.1. This is what I thought I should have used based on reading the different web pages. Is this what you installed? Ted --- Timothy Reaves wrote: > I'm not sure if makes any difference, but do you > have the iodbc > development kit installed? I do. > > > On Nov 7, 2003, at 9:14 AM, Theodore Petrosky wrote: > > > Benny, > > > > Thanks, > > > > it does indeed make without the iodbc however I > can > > not add a DSN in odbc administator... according to > all > > the information I can find, making psqlODBC with > iodbc > > and using the iodbc admin program is supposed to > work. > > > > I can not for the life of me understand how to get > > this to work. > > > > I was emailing someone that did get it to work, > > however there must be a difference in his system > setup > > as his method of ./configure --with-iodbc, make, > make > > install fails for me. > > > > I don't know where or how to get the process to > see > > my core foundation stuff. > > > > If you can help please do.... > > > > Ted > > > > --- Benjamin Riefenstahl > > wrote: > >> Hi Theodore, > >> > >> > >> Theodore Petrosky writes: > >>> Please, I need some help figuring out a Mac OS X > >> problem. > >> > >>> I downloaded and installed the libiodbc-3.51.1 > >> sources. > >> > >> Isn't that another ODBC implementation? Mac OS X > >> already has a > >> version of ODBC by Apple, so you shouldn't need > >> that. > >> > >>> then the psqlodbc-07.03.0200 sources. > >> > >>> I configured with ./configure --with-iodbc > >> however, before finishing > >>> make I am getting errors like this: > >>> > >>> ld: Undefined symbols: > >>> _CFBundleCopyExecutableURL > >>> _CFBundleCopyResourceURL > >>> _CFBundleGetBundleWithIdentifier > >>> _CFRelease > >>> _CFStringGetCString > >>> _CFURLCopyFileSystemPath > >>> ___CFStringMakeConstantString > >>> make[1]: *** [psqlodbc.la] Error 1 > >>> make: *** [all] Error 2 > >>> > >>> This looks like 'core foundations' stuff.. > >> > >> Right. So you probably just need to add > "-framework > >> CoreFoundation" > >> to your link line. > >> > >> > >> benny > >> > >> > >> ---------------------------(end of > >> broadcast)--------------------------- > >> TIP 4: Don't 'kill -9' the postmaster > > > > __________________________________ > > Do you Yahoo!? > > Protect your identity with Yahoo! Mail > AddressGuard > > http://antispam.yahoo.com/whatsnewfree > > > > ---------------------------(end of > > broadcast)--------------------------- > > TIP 1: subscribe and unsubscribe commands go to > > majordomo@postgresql.org > > ATTACHMENT part 2 application/pkcs7-signature name=smime.p7s __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
Re: help with OSX make problem
Yes, that would be the one. If you like, I'll bzip2 up my directory and e-mail it to you. That way you can compare (do a diff) of that directory against your directory to try and determine what is different. On Nov 8, 2003, at 2:06 PM, Theodore Petrosky wrote: > > Timothy, > > Yes, i downloaded and installed libiodbc-3.51.1. This > is what I thought I should have used based on reading > the different web pages. Is this what you installed? > > Ted > > > --- Timothy Reaves wrote: >> I'm not sure if makes any difference, but do you >> have the iodbc >> development kit installed? I do. >> >> >> On Nov 7, 2003, at 9:14 AM, Theodore Petrosky wrote: >> >>> Benny, >>> >>> Thanks, >>> >>> it does indeed make without the iodbc however I >> can >>> not add a DSN in odbc administator... according to >> all >>> the information I can find, making psqlODBC with >> iodbc >>> and using the iodbc admin program is supposed to >> work. >>> >>> I can not for the life of me understand how to get >>> this to work. >>> >>> I was emailing someone that did get it to work, >>> however there must be a difference in his system >> setup >>> as his method of ./configure --with-iodbc, make, >> make >>> install fails for me. >>> >>> I don't know where or how to get the process to >> see >>> my core foundation stuff. >>> >>> If you can help please do.... >>> >>> Ted >>> >>> --- Benjamin Riefenstahl >>> wrote: >>>> Hi Theodore, >>>> >>>> >>>> Theodore Petrosky writes: >>>>> Please, I need some help figuring out a Mac OS X >>>> problem. >>>> >>>>> I downloaded and installed the libiodbc-3.51.1 >>>> sources. >>>> >>>> Isn't that another ODBC implementation? Mac OS X >>>> already has a >>>> version of ODBC by Apple, so you shouldn't need >>>> that. >>>> >>>>> then the psqlodbc-07.03.0200 sources. >>>> >>>>> I configured with ./configure --with-iodbc >>>> however, before finishing >>>>> make I am getting errors like this: >>>>> >>>>> ld: Undefined symbols: >>>>> _CFBundleCopyExecutableURL >>>>> _CFBundleCopyResourceURL >>>>> _CFBundleGetBundleWithIdentifier >>>>> _CFRelease >>>>> _CFStringGetCString >>>>> _CFURLCopyFileSystemPath >>>>> ___CFStringMakeConstantString >>>>> make[1]: *** [psqlodbc.la] Error 1 >>>>> make: *** [all] Error 2 >>>>> >>>>> This looks like 'core foundations' stuff.. >>>> >>>> Right. So you probably just need to add >> "-framework >>>> CoreFoundation" >>>> to your link line. >>>> >>>> >>>> benny >>>> >>>> >>>> ---------------------------(end of >>>> broadcast)--------------------------- >>>> TIP 4: Don't 'kill -9' the postmaster >>> >>> __________________________________ >>> Do you Yahoo!? >>> Protect your identity with Yahoo! Mail >> AddressGuard >>> http://antispam.yahoo.com/whatsnewfree >>> >>> ---------------------------(end of >>> broadcast)--------------------------- >>> TIP 1: subscribe and unsubscribe commands go to >>> majordomo@postgresql.org >> > >> ATTACHMENT part 2 application/pkcs7-signature > name=smime.p7s > > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree