On Tue, 19 Oct 1999 [EMAIL PROTECTED] wrote:

> 
> It compiled but it does not run:
> 
> hp10ref_~_1 $ dia
> 
> 
> Couldn't find standard objects when looking for object-libs, exiting...
> hp10ref_~_2 $ ls /usr/local/lib/dia/
> liber_objects.a          libfs_objects.la         libsybase_objects.la
> liber_objects.la         libnetwork_objects.la    libsybase_objects.sl
> libflowchart_objects.la  libnetwork_objects.sl    libuml_objects.a
> libflowchart_objects.sl  libstandard_objects.la   libuml_objects.la
> libfs_objects.a          libstandard_objects.sl   
> 
> It is probably in the link command or search path...
> 
> I'll have a check but I attend a course until Wed midday...

Oh... Change line 315 in app/app_procs.c from
  return (strcmp(".so", &name[len-3])==0);
to
  return (strcmp(".sl", &name[len-3])==0);
And it should work. 

This obviously needs to be fixed. I wonder if there is some libtool way to
find out the dll file extension. netbsd has the same problem, they call
them .so.0.0.0. Maybe we should just give in and parse the .la files....

/ Alex

Reply via email to