home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / programm / 7105 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.9 KB  |  55 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!psinews!usenet
  3. From: ph@pencom.com (Patrick Hester)
  4. Subject: Re: Libraries for DBkit
  5. Message-ID: <1992Nov09.193855.11178@pencom.com>
  6. Sender: usenet@pencom.com (News system)
  7. Reply-To: ph@pencom.com
  8. Organization: Pencom Systems Incorporated
  9. References: <THOMSON.92Nov6102640@zarda.macc.wisc.edu>
  10. Date: Mon, 09 Nov 1992 19:38:55 GMT
  11. Lines: 42
  12.  
  13. In article <THOMSON.92Nov6102640@zarda.macc.wisc.edu>  
  14. thomson@zarda.macc.wisc.edu (Don Thomson) writes:
  15. > We're in the process of trying to figure out how to get the DBkit  
  16. working
  17. > for us.  We've gotten to the point of figuring out how to put the  
  18. Database
  19. > palette into the InterfaceBuilder and connect to our Sybase server.
  20. > Inside IB, we can use the run command and the application runs fine.   
  21. Using
  22. > ProjectBuilder we try to compile the application but find that we need  
  23. to
  24. > add -ldbkit for a library (not surprising).  It now compiles cleanly but
  25. > cannot load the Sybase adaptor properly.  Console error messages look  
  26. like
  27. > Nov  5 17:11:19 wingra UIDS[9351]: Error loading  
  28. /NextLibrary/Adaptors/SybaseAd\
  29. > aptor.adaptor/SybaseAdaptor
  30. > Nov  5 17:11:20 wingra UIDS[9351]: rld(): Undefined symbols:
  31. > Any suggestions?
  32.  
  33. You have not connected your app to a DB adapter.
  34.  
  35. There are two ways around this:
  36.  
  37. (1)    create a Makefile.preamble which contains:
  38.  
  39.         LDFLAGS = -u libdbkit_s -u libNeXT_s -u libsys_s
  40.  
  41.     The adapter is loaded dynamically at run time.
  42.     This method may cause grief when moving to another computer,
  43.     especially if they don't have the adapter.
  44.     This is how we did it until bitten at the client's machine.
  45.  
  46. (2)    add SybaseAdapter.adapter under libraries
  47.     (this is located in /NextLibrary/Adapters)
  48.     Doing this makes your app larger but you'll be sure to have it.
  49.     This is the way we currently do it.
  50.  
  51. Patrick Hester   ph@pencom.com   (212) 513-7777   NeXT Mail OK   =8(\/\)
  52.