#835 closed defect (fixed)
arb should include and link to tirpc on newer glibc
Reported by: | guest | Owned by: | westram |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | global | Version: | arb-6.0.6 |
Keywords: | Cc: |
Description
Hi,
Sun RPC is no longer included in glibc and applications should use TI-RPC instead.
arb was failing to build in Ubuntu and a quick fix was to change Makefile so that
-ARBDB_LIB=-lARBDB $(CORE_LIB) +ARBDB_LIB=-lARBDB $(CORE_LIB) -ltirpc
and
-CC_INCLUDES := -I. -I$(ARBHOME)/INCLUDE $(XINCLUDES) $(ARB_GLIB_INCLUDE) +CC_INCLUDES := -I. -I$(ARBHOME)/INCLUDE $(XINCLUDES) $(ARB_GLIB_INCLUDE) -I/usr/include/tirpc
A more general fix should check if the rpc headers are available and if not try to use tirpc instead, but for our package build this workaround did the trick.
Best regards, Tiago
[tdaitx ubuntu.com]
Change History (5)
comment:1 Changed 4 years ago by westram
- Owner changed from devel to westram
- Status changed from new to accepted
comment:2 Changed 3 years ago by westram
- Resolution set to worksforme
- Status changed from accepted to closed
arb compiled fine for ubuntu 20.04 and debian 10.
please reopen ticket if problem persists.
comment:3 Changed 3 years ago by westram
- Resolution worksforme deleted
- Status changed from closed to reopened
comment:4 Changed 3 years ago by westram
- Resolution set to fixed
- Status changed from reopened to closed
fixed problem on suse leap 15.3: see [18982]
comment:5 Changed 3 years ago by westram
backported to 'stable' by r19040 → arb-7.0.2
Note: See
TracTickets for help on using
tickets.
thx for reporting and workaround. I'll add some compile switch when I encounter this problem.
which ubuntu version did you use?