openmainframeproject / feilong

Feilong is a open source z/VM cloud connector project under the Open Mainframe Project umbrella that will accelerate the z/VM adoption, extending its ecosystem and its user experience. It provides a set of APIs to operate z/VM including guest, image, network, volume etc.
https://www.openmainframeproject.org/projects/feilong
Apache License 2.0
35 stars 70 forks source link

zthin build ends in error #827

Closed ajoncich closed 2 months ago

ajoncich commented 2 months ago

When building the zthin component, the build ends with an error and is incomplete. The process to reproduce on RHEL 8.10 is cd feilong/zthin-parts make

The build ends with this error: gcc -o smcli rcdescriptions.o wrapperutils.o smcli.o smcliAsynchronous.o smcliAuthorization.o smcliCheck.o smcliDelete.o smcliDirectory.o smcliEvent.o smcliImage.o smcliImageDefinition.o smcliMetadata.o smcliName.o smcliNetwork.o smcliPage.o smcliProcess.o smcliProfile.o smcliPrototype.o smcliQuery.o smcliResponse.o smcliShared.o smcliSMAPI.o smcliSSI.o smcliStatic.o smcliSystem.o smcliVirtual.o smcliVMRelocate.o smcliVMRM.o smcliUnDocumented.o -L./ -lzthin -ltirpc -ldl /usr/bin/ld: cannot find -ltirpc collect2: error: ld returned 1 exit status make: *** [Makefile:998: smcli] Error 1

bjhuangr commented 2 months ago

@ajoncich , please install libtirpc-devel in your build server and try the make again .

ajoncich commented 2 months ago

yes, that resolved the build error.