Error in DeepStream 7.0 installation instructions - symlink fails to create

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
both
• DeepStream Version
7.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
Error in section(s) Install librdkafka
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

The 7.0 instructions have

Copy the generated libraries to the deepstream directory:

$ sudo mkdir -p /opt/nvidia/deepstream/deepstream/lib
$ sudo cp /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream/lib

I believe this needs to be

Copy the generated libraries to the deepstream directory:

$ sudo mkdir -p /opt/nvidia/deepstream/deepstream-7.0/lib
$ sudo cp /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream-7.0/lib

… as you had in previous releases see 6.3

If you do as the instructions suggest, the installation will fail to setup the symlink from deepstream to deepstream-7.0 since the directory deepstream already exists.

Regards,
Robert.

This seems to be no problem. If the file already exists, the above command will not do anything.

In fact, this can avoid modifying the corresponding document in subsequent versions.

@junshengy my apologies if my message was somewhat unclear. Let me try to again.

If the user installs the kafka lib to

/opt/nvidia/deepstream/deepstream/lib

Then after installing Deepstream they will have

/opt/nvidia/deepstream/deepstream/lib
/opt/nvidia/deepstream/deepstream-7.0/< all installed dirs/files >

This is wrong.

The last step of the deepstream Install should be the creation of the symbolic link deepstream to deepstream-7.0 but this step is failing because the user all ready created the deepstream folder in the Kafka install. You can’t create a symbolic link if a real directory of the same name exists.

Any existing application source code or Makefile that references

/opt/nvidia/deepstream/deepstream/sources 

Will fail after upgrading to DS 7.0

The reason you don’t see this issue with all of you examples is because they reference

/opt/nvidia/deepstream/deepstream-7.0/sources 

Which makes the examples version specific. Real world applications need to compile against multiple DS versions…

This is how it should look if installed correctly!

Again, if you look back at all of your past release, they all handle this correctly.
see 6.3

Copy the generated libraries to the deepstream directory:

$ sudo mkdir -p /opt/nvidia/deepstream/deepstream-6.3/lib
$ sudo cp /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream-6.3/lib

See 6.2

Copy the generated libraries to the deepstream directory:

$ sudo mkdir -p /opt/nvidia/deepstream/deepstream-6.2/lib
$ sudo cp /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream-6.2/lib
`1``
For this very reason.
1 Like

I understand what you mean, this is indeed a problem, thank you for sharing

1 Like

@junshengy my apologies if my last message came across a little strong… at the end of a long frustrating day.

Regards.

It doesn’t matter, thank you very much for sharing