Thread View: comp.sys.next.programmer
2 messages
2 total messages
Started by Don Thomson
Fri, 06 Nov 1992 10:26
Libraries for DBkit
Author: Don Thomson
Date: Fri, 06 Nov 1992 10:26
Date: Fri, 06 Nov 1992 10:26
18 lines
1312 bytes
1312 bytes
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?
--
----- Don Thomson ----- MACC, 1210 W. Dayton, Madison, WI 53706 -------------
(608) 262-0138 thomson@macc.wisc.edu / thomson@wiscmacc.bitnet
Re: Libraries for DBkit
Author: 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(\/\)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads