[unixODBC-support] odbcconfig / odbcinst problem

Nick Gorham nick.gorham at easysoft.com
Thu Oct 21 17:28:24 BST 2004


Richard McGraw wrote:

> Hello,
>
> i came against a problem in trying to create a new User DSN with 
> odbcconfig.
> the origin of the problem seems to be in odbcinst :
> a system DSN is created fine but on attempting to create a user dsn here
> is what i get :
>
> * with odbcconfig : "couldn't write to (~/.odbc.ini)" , then "General 
> error request failed"
> and "General installer error"
> * with odbcinst -i -s -h -f <template> :
> odbcinst: SQLWritePrivateProfileString failed with General error 
> request failed.
> odbcinst: SQLWritePrivateProfileString failed with General error 
> request failed.
>
> i have an empty .odbc.ini file in my home dir.
> The system is Mac OS 10.3 , unixODBC is installed by the Fink package 
> management system.
> Also: every time that odbcconfig is launched in Apple's X11, the 
> following messages
> pop up: "Couldn't load odbc.ini", and "Unable to find component name"
>
> It may be caused by some configuration error at my end,
> but i prefer to submit it to this list first.
>
> Do you have any idea and/or similar experience ?


I am not sure, I am looking at the Mac at the moment. I would suspect 
its failing to find the ini where it expects.

May be worth asking the makers of the package, where they build the code 
to expect the ini files.

Can you write to ~/.odbc.ini ? it may be a permissions problem.

-- 
Nick



More information about the unixODBC-support mailing list