Article View: comp.sys.next.programmer
Article #1398Re: Libraries for DBkit
From: Patrick Hester
Date: Mon, 09 Nov 1992 19:38
Date: Mon, 09 Nov 1992 19:38
42 lines
1968 bytes
1968 bytes
In article <THOMSON.92Nov6102640@zarda.macc.wisc.edu> thomson@zarda.macc.wisc.edu (Don Thomson) writes: > We're in the process of trying to figure out how to get the DBkit working > for us. We've gotten to the point of figuring out how to put the Database > palette into the InterfaceBuilder and connect to our Sybase server. > > Inside IB, we can use the run command and the application runs fine. Using > ProjectBuilder we try to compile the application but find that we need to > add -ldbkit for a library (not surprising). It now compiles cleanly but > cannot load the Sybase adaptor properly. Console error messages look like > > Nov 5 17:11:19 wingra UIDS[9351]: Error loading /NextLibrary/Adaptors/SybaseAd\ > aptor.adaptor/SybaseAdaptor > Nov 5 17:11:20 wingra UIDS[9351]: rld(): Undefined symbols: > > Any suggestions? You have not connected your app to a DB adapter. There are two ways around this: (1) create a Makefile.preamble which contains: LDFLAGS = -u libdbkit_s -u libNeXT_s -u libsys_s The adapter is loaded dynamically at run time. This method may cause grief when moving to another computer, especially if they don't have the adapter. This is how we did it until bitten at the client's machine. (2) add SybaseAdapter.adapter under libraries (this is located in /NextLibrary/Adapters) Doing this makes your app larger but you'll be sure to have it. This is the way we currently do it. Patrick Hester ph@pencom.com (212) 513-7777 NeXT Mail OK =8(\/\)
Technical Details
Message-ID:
<1992Nov09.193855.11178@pencom.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!psinews!usenetReferences:
<THOMSON.92Nov6102640@zarda.macc.wisc.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!psinews!usenet From: ph@pencom.com (Patrick Hester) Subject: Re: Libraries for DBkit Message-ID: <1992Nov09.193855.11178@pencom.com> Sender: usenet@pencom.com (News system) Reply-To: ph@pencom.com Organization: Pencom Systems Incorporated References: <THOMSON.92Nov6102640@zarda.macc.wisc.edu> Date: Mon, 09 Nov 1992 19:38:55 GMT Lines: 42