AnswerBun.com

Problem when trying to build debian packages

Ask Ubuntu Asked by kr90 on January 3, 2022

Hei,

I am trying to build a package using make command and I get the following error:

  dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libcrypto.so.1.1 (used by debian/sgx-aesm-service/opt/intel/sgx-aesm-
  service/aesm/bundles/liblinux_network_service_bundle.so) Hint: check if the library
    actually comes from a package. dh_shlibdeps: dpkg-shlibdeps -Tdebian/sgx-aesm-service.substvars
   -l/home/kleir/linux-sgx/build/linux debian/sgx-aesm-service/opt/intel/sgx-aesm-service/aesm/liboal.so debian/sgx-aesm-service/opt/intel/sgx-aesm-service/aesm/aesm_service 
debian/sgx-aesm-service/opt/intel/sgx-aesm-service/aesm/liburts_internal.so debian/sgx-aesm-service/opt/intel/sgx-aesm-service/aesm/bundles/
 liblinux_network_service_bundle.so debian/sgx-
aesm-service/opt/intel/sgx-aesm-service/aesm/libipc.so debian/sgx-aesm- 
service/opt/intel/sgx-aesm-service/aesm/libutils.so debian/sgx-aesm-service/opt/intel/sgx- 
aesm-service/aesm/libCppMicroServices.so.4.0.0 returned exit code 2 dh_shlibdeps:
Aborting due to earlier error debian/rules:11: recipe for target 'override_dh_shlibdeps' 
failed make[2]: *** [override_dh_shlibdeps] Error 255 make[2]: Leaving directory '/home/kleir/linux-sgx/linux/installer/deb/sgx-aesm-service/sgx-aesm-service-2.10.100.2
' debian/rules:8: recipe for target 'binary' failed make[1]: *** [binary] Error 2 make[1]:   
Leaving directory '/home/kleir/linux-sgx/linux/installer/deb/sgx-aesm-service/sgx-aesm-service-2.10.100.2' 
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2 Makefile:123: recipe for target 'deb_sgx_aesm_service' failed make: *** [deb_sgx_aesm_service] Error 2

The problem comes from debian package of sgx-aesm-service and I checked the rule file and it looked like:

 1  #!/usr/bin/make -f
 2  # -*- makefile -*-
   
 3  # Uncomment this to turn on verbose mode.
 4  #export DH_VERBOSE=1
   
 5  %:
 6      dh [email protected]
   
 7  override_dh_shlibdeps:
 8      dh_shlibdeps -l $(LINUX_BUILD_DIR)

I tried to midfy this file into :

 1  #!/usr/bin/make -f
 2  # -*- makefile -*-
   
 3  # Uncomment this to turn on verbose mode.
 4  #export DH_VERBOSE=1
   
 5  %:
 6      dh [email protected]
   
 7  override_dh_shlibdeps:
 8      dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

and I still get the same error as above. My distribution is ubuntu18.04

I have installed libcrypto.so.1.1 when I installed openssl but also bby running the command below:

apt-get install libssl-dev

with sudo permission.

I am trying to solve that problem for more than a day now but could not find any solution which is relevant to my problem. Is there any solution which can help me solve that problem?

Add your own answers!

Related Questions

How to give a 64-bit windows app at least 4gb with Wine?

0  Asked on December 6, 2020 by lelorrain

     

Secondary partition -I cant Execute files

0  Asked on December 5, 2020 by martin-andersen

     

can’t execute a script via the startmenu in Gnome

0  Asked on December 5, 2020 by vrms

   

Uneven refresh rate on display

0  Asked on December 5, 2020 by curiousstudent

         

Cursor stuck in select mode

1  Asked on December 5, 2020 by mohand-andel

   

Where’s the Flatpak on Ubuntu 20.04?

2  Asked on December 4, 2020 by user1079583

     

How to install trello in ubuntu

3  Asked on December 3, 2020 by ujjal-das

   

Bluetooth not working hp pavillion g6

0  Asked on December 3, 2020 by fastonkill

         

Convert Ubuntu Physical machine to Virtual machine

3  Asked on December 3, 2020 by cyberquarks

   

Music Production Tools (DJ)

1  Asked on December 2, 2020 by user244589

     

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir