pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
help with OSX make  problem
7+ messages / 3 participants
[nested] [flat]

* help with OSX make  problem
@ 2003-11-05 12:33 Theodore Petrosky <tedpet5@yahoo.com>
  2003-11-06 20:32 ` Re: help with OSX make  problem Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
  0 siblings, 1 reply; 7+ messages in thread

From: Theodore Petrosky @ 2003-11-05 12:33 UTC (permalink / raw)
  To: pgsql-odbc

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: help with OSX make  problem
  2003-11-05 12:33 help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
@ 2003-11-06 20:32 ` Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
  2003-11-07 14:14   ` Re: help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
  0 siblings, 1 reply; 7+ messages in thread

From: Benjamin Riefenstahl @ 2003-11-06 20:32 UTC (permalink / raw)
  To: Theodore Petrosky <tedpet5@yahoo.com>; +Cc: pgsql-odbc

Hi Theodore,


Theodore Petrosky <tedpet5@yahoo.com> 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




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: help with OSX make  problem
  2003-11-05 12:33 help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
  2003-11-06 20:32 ` Re: help with OSX make  problem Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
@ 2003-11-07 14:14   ` Theodore Petrosky <tedpet5@yahoo.com>
  2003-11-07 18:26     ` Re: help with OSX make  problem Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
  2003-11-08 17:33     ` Re: help with OSX make  problem Timothy Reaves <treaves@silverfields.com>
  0 siblings, 2 replies; 7+ messages in thread

From: Theodore Petrosky @ 2003-11-07 14:14 UTC (permalink / raw)
  To: Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>; +Cc: pgsql-odbc

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
<Benjamin.Riefenstahl@epost.de> wrote:
> Hi Theodore,
> 
> 
> Theodore Petrosky <tedpet5@yahoo.com> 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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: help with OSX make  problem
  2003-11-05 12:33 help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
  2003-11-06 20:32 ` Re: help with OSX make  problem Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
  2003-11-07 14:14   ` Re: help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
@ 2003-11-07 18:26     ` Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
  1 sibling, 0 replies; 7+ messages in thread

From: Benjamin Riefenstahl @ 2003-11-07 18:26 UTC (permalink / raw)
  To: Theodore Petrosky <tedpet5@yahoo.com>; +Cc: pgsql-odbc

Hi Theodore,


First thing, I got my PostgreSQL as a binary package from
<http://www.serverlogistics.com;, 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 <tedpet5@yahoo.com> 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




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: help with OSX make  problem
  2003-11-05 12:33 help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
  2003-11-06 20:32 ` Re: help with OSX make  problem Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
  2003-11-07 14:14   ` Re: help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
@ 2003-11-08 17:33     ` Timothy Reaves <treaves@silverfields.com>
  2003-11-08 19:06       ` Re: help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
  1 sibling, 1 reply; 7+ messages in thread

From: Timothy Reaves @ 2003-11-08 17:33 UTC (permalink / raw)
  To: Theodore Petrosky <tedpet5@yahoo.com>; +Cc: pgsql-odbc

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
> <Benjamin.Riefenstahl@epost.de> wrote:
>> Hi Theodore,
>>
>>
>> Theodore Petrosky <tedpet5@yahoo.com> 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

Attachments:

  smime.p7s (application/pkcs7-signature, 2.3K) download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: help with OSX make  problem
  2003-11-05 12:33 help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
  2003-11-06 20:32 ` Re: help with OSX make  problem Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
  2003-11-07 14:14   ` Re: help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
  2003-11-08 17:33     ` Re: help with OSX make  problem Timothy Reaves <treaves@silverfields.com>
@ 2003-11-08 19:06       ` Theodore Petrosky <tedpet5@yahoo.com>
  2003-11-08 20:18         ` Re: help with OSX make  problem Timothy Reaves <treaves@silverfields.com>
  0 siblings, 1 reply; 7+ messages in thread

From: Theodore Petrosky @ 2003-11-08 19:06 UTC (permalink / raw)
  To: Timothy Reaves <treaves@silverfields.com>; +Cc: pgsql-odbc


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 <treaves@silverfields.com> 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
> > <Benjamin.Riefenstahl@epost.de> wrote:
> >> Hi Theodore,
> >>
> >>
> >> Theodore Petrosky <tedpet5@yahoo.com> 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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: help with OSX make  problem
  2003-11-05 12:33 help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
  2003-11-06 20:32 ` Re: help with OSX make  problem Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
  2003-11-07 14:14   ` Re: help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
  2003-11-08 17:33     ` Re: help with OSX make  problem Timothy Reaves <treaves@silverfields.com>
  2003-11-08 19:06       ` Re: help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
@ 2003-11-08 20:18         ` Timothy Reaves <treaves@silverfields.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Timothy Reaves @ 2003-11-08 20:18 UTC (permalink / raw)
  To: Theodore Petrosky <tedpet5@yahoo.com>; +Cc: pgsql-odbc

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 <treaves@silverfields.com> 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
>>> <Benjamin.Riefenstahl@epost.de> wrote:
>>>> Hi Theodore,
>>>>
>>>>
>>>> Theodore Petrosky <tedpet5@yahoo.com> 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

Attachments:

  smime.p7s (application/pkcs7-signature, 2.3K) download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2003-11-08 20:18 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-05 12:33 help with OSX make  problem Theodore Petrosky <tedpet5@yahoo.com>
2003-11-06 20:32 ` Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
2003-11-07 14:14   ` Theodore Petrosky <tedpet5@yahoo.com>
2003-11-07 18:26     ` Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
2003-11-08 17:33     ` Timothy Reaves <treaves@silverfields.com>
2003-11-08 19:06       ` Theodore Petrosky <tedpet5@yahoo.com>
2003-11-08 20:18         ` Timothy Reaves <treaves@silverfields.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox