If you have a pcb file loaded and then try to load the associated netlist, via the program's menu -> File -> load netlist file, the program pcb terminates complaining /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam". So that means cad/pcb/Makefile etc needs to effect a patch on the work/pcb/Makefile etc to refer to pthread in the LIB etc? How-To-Repeat: cd /usr/ports/cad/pcb/work/pcb-20060414/example pcb LED Then select the menu item File -> load netlist file. Program will close with the aforementioned loader message.
Responsible Changed From-To: freebsd-ports-bugs->hrs Over to maintainer
Michael Glaum <mglaum@kvh.com> wrote in <200608031939.k73JdwxY035650@www.freebsd.org>: mg> >Description: mg> If you have a pcb file loaded and then try to load the associated mg> netlist, via the program's menu -> File -> load netlist file, mg> the program pcb terminates complaining mg> /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam". I think there is a high possibility that glib20 and gtk20 on your system have a problem. I tried clean install of cad/pcb and the dependencies on 6.1 system but could not reproduce that error. Could you try to reinstall the related packages? -- | Hiroki SATO
Michael Glaum <mglaum@kvh.com> submitted ports/101327 mg> >Description: mg> If you have a pcb file loaded and then try to load the associated mg> netlist, via the program's menu -> File -> load netlist file, mg> the program pcb terminates complaining mg> /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam". Hiroki Sato <hrs@FreeBSD.org> followed up: HS> I think there is a high possibility that glib20 and gtk20 on your HS> system have a problem. I tried clean install of cad/pcb and the HS> dependencies on 6.1 system but could not reproduce that error. HS> Could you try to reinstall the related packages? I'm thinking you might be onto something. If I install a clean FreeBSD6.1, cvsup the ports, install pcb via the ports, all is fine. No loader error. If I then pkg_add -r gnome2 and subsequently use Gnome for my window environment, the bug comes back. I'm thinking I should install FreeBSD again and install Gnome2 via the ports. That'll probably work?
I haven't been able to reproduce your error-free running of cad/pcb. If I install a clean 6.1, update the cvs ports directory and install both x11/gnome2 and then cad/pcb via the ports, I still get the same error /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam". So did you try the "pcb program's menu -> File -> load netlist file"?
State Changed From-To: open->feedback A patch has been committed. Waiting a feedback about if it works or not.
hrs 2006-09-18 18:13:41 UTC FreeBSD ports repository Modified files: cad/pcb Makefile Log: Add pthread dependency to fix a crash problem. PR: ports/101327 Spotted by: Michael Glaum <mglaum@sdf.lonestar.org> Revision Changes Path 1.53 +3 -2 ports/cad/pcb/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Hiroki Sato <hrs@FreeBSD.org> committed the patch 2006-09-18 18:13:41 UTC Revision Changes Path 1.53 +3 -2 ports/cad/pcb/Makefile This appears to fix the "load netlist" bug. I believe this PR should be ... CLOSED. Many thanks to Hiroki.
State Changed From-To: feedback->closed The problem has been fixed. Thanks for the report!